Open emilianosantucci opened 7 years ago
Looks like an issue with installing charlock_holmes on osx
The best way to debug is to run
HOMEBREW_DEBUG=1 brew gem install gollum
then drop into a shell once it fails and the mkmf.log will still exist.
Yeah @anfleene, it is right, seems to be issued when it try to load icu4c and it fail. I have found the official workaround here but I will not able to pass arguments.
About documentation:
gem install charlock_holmes -- --with-icu-dir=/usr/local/opt/icu4c
What I do:
brew gem install charlock_holmes -- --with-icu-dir=/usr/local/Cellar/icu4c --homebrew-ruby
What I obtain:
==> Fetching charlock_holmes from gem source
ERROR: While executing gem ... (OptionParser::MissingArgument)
missing argument: --version
==> /usr/bin/gem install /Users/emiliano/Library/Caches/Homebrew/charlock_holmes---.gem --no-ri --no-rdoc --no-wrapper --no-user-install --install-dir /usr/local/Cellar/gem-charlock_holmes/-- --bindir /us
Last 15 lines from /Users/emiliano/Library/Logs/Homebrew/gem-charlock_holmes/01.gem:
2016-09-23 23:43:43 +0200
/usr/bin/gem
install
/Users/emiliano/Library/Caches/Homebrew/charlock_holmes---.gem
--no-ri
--no-rdoc
--no-wrapper
--no-user-install
--install-dir
/usr/local/Cellar/gem-charlock_holmes/--
--bindir
/usr/local/Cellar/gem-charlock_holmes/--/bin
ERROR: Could not find a valid gem '/Users/emiliano/Library/Caches/Homebrew/charlock_holmes---.gem' (>= 0) in any repository
I have a strategy for which kind of gems not to use with Brew-Gem:
if the target gem has in it's dependencies external libs (e.g. gollum-lib
for gilum
)
or things you need to require to config files (e.g. rubocop-performance, rubocop-rspec, rubocop-security, rubocop-rails
are other libraries-gems needed when you digging into your code-style with Rubocop
. Their requirement goes to .rubocop.yml)
When Brew-Gem can't cope with these kind of libraries.
Hi, I can't install gollum with
brew gem install gollum --homebrew-ruby
, receive ever the same error:It seem linked on troubleshooting guide line but I've tried it before write this issue.