-
- Downloads
Use static_holmes instead of charlock_holmes
static_holmes is a fork of the charlock_holmes gem with a single change to make it possible to statically link icu4c libraries via the `--enable-static` config option: gitlab-org/ruby/gems/charlock_holmes!2 For macOS users, whenever Homebrew updates icu4c, charlock_holmes gem stops working because the old dynamically linked library is removed. With this change, those upgrade problems will go away. Note that `--enable-static` only works on macOS. Ubuntu Linux doesn't compile the static library with position-independent code (`-fPIC`), so link errors result if `--enable-static` is used. Relates to gitlab-org/gitlab-development-kit#2062 Changelog: changed
parent
00660f2d
No related branches found
No related tags found
... | ... | @@ -327,7 +327,9 @@ gem 'loofah', '~> 2.22.0' # rubocop:todo Gemfile/MissingFeatureCategory |
gem 'licensee', '~> 9.16' # rubocop:todo Gemfile/MissingFeatureCategory | ||
# Detect and convert string character encoding | ||
gem 'charlock_holmes', '~> 0.7.7' # rubocop:todo Gemfile/MissingFeatureCategory | ||
# We forked charlock_holmes at https://gitlab.com/gitlab-org/ruby/gems/charlock_holmes | ||
# but changed it's name to 'static_holmes' in the gemspec file. | ||
gem 'static_holmes', '~> 0.7.7', require: 'charlock_holmes' # rubocop:todo Gemfile/MissingFeatureCategory | ||
# Detect mime content type from content | ||
gem 'ruby-magic', '~> 0.6' # rubocop:todo Gemfile/MissingFeatureCategory | ||
... | ... |
-
mentioned in merge request kubitus-project/kubitus-installer!2945 (merged)
Please register or sign in to comment