Tuesday, 15 February 2011

ruby - Gem install error due to invalid ssl using rbenv -



ruby - Gem install error due to invalid ssl using rbenv -

i'm trying install new gem (gem install lunchy), getting next error due ssl certificate:

error: loading command: install (loaderror) dlopen(/usr/local/cellar/ruby/2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.3.0/openssl.bundle, 9): symbol not found: _sslv2_client_method referenced from: /usr/local/cellar/ruby/2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.3.0/openssl.bundle expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib in /usr/local/cellar/ruby/2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.3.0/openssl.bundle - /usr/local/cellar/ruby/2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.3.0/openssl.bundle error: while executing gem ... (nomethoderror) undefined method 'invoke_with_build_args' nil:nilclass

i've tried number of fixes:

tried gem update --system per reply bundle install fails ssl certificate verification error same error on command.

tried brew install openssl followed brew link openssl --force per question no avail: openssl error installing ruby 2.0.0-p195 on mac rbenv

even tried reinstalling rbenv , ruby didn't work either, still same error.

the ruby beingness executed in error not 1 installed rbenv, homebrew.

if you're trying utilize rbenv, maybe run brew uninstall ruby and/or check output of echo $path create sure ~/.rbenv/shims @ start.

ruby ssl gem rubygems homebrew

No comments:

Post a Comment