Use ruby-magic-static 0.3.4 for the time being
When using the regular ruby-magic Gem we're running into issues with not being able to download the libmagic library. In merge request https://gitlab.com/gitlab-org/ruby-magic/-/merge_requests/5 we added a quick workaround to at least let us continue to deploy. This commit switches over our Rails application to use that fork for the time being.
Showing
... | ... | @@ -274,7 +274,7 @@ gem 'licensee', '~> 9.14.1' |
gem 'charlock_holmes', '~> 0.7.7' | ||
# Detect mime content type from content | ||
gem 'ruby-magic', '~> 0.3' | ||
gem 'ruby-magic-static', '~> 0.3.4' | ||
# Fake version of the gem to trick bundler | ||
gem 'mimemagic', '0.3.7', path: 'vendor/shims/mimemagic', require: false | ||
... | ... |
Please register or sign in to comment