rubygems - Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error -


i have been trying install rvm , ruby 2.1.1 onto new mac (os 10.9.2), , seems going until try install version of ruby.

my input

$ rvm reinstall 2.1 

so far good...

ruby-2.1.1 - #removing rubies/ruby-2.1.1.. searching binary rubies, might take time. found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2 checking requirements osx. certificates in '/usr/local/etc/openssl/cert.pem' date. requirements installation successful. ruby-2.1.1 - #configure ruby-2.1.1 - #download ruby-2.1.1 - #validate archive ruby-2.1.1 - #extract ruby-2.1.1 - #validate binary ruby-2.1.1 - #setup ruby-2.1.1 - #making binaries executable.. ruby-2.1.1 - #downloading rubygems-2.2.2 ruby-2.1.1 - #extracting rubygems-2.2.2.... ruby-2.1.1 - #removing old rubygems......... 

but then...

ruby-2.1.1 - #installing rubygems-2.2.2. error running 'env gem_home= gem_path= /users/dylanoshea/.rvm/rubies/ruby-2.1.1/bin/ruby -d /users/dylanoshea/.rvm/src/rubygems-2.2.2/setup.rb --verbose', showing last 15 lines of /users/dylanoshea/.rvm/log/1395654507_ruby-2.1.1/rubygems.install.log [2014-03-24 02:48:47] /users/dylanoshea/.rvm/rubies/ruby-2.1.1/bin/ruby current path: /users/dylanoshea/.rvm/src/rubygems-2.2.2 path=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/users/dylanoshea/.rvm/bin command(7): env gem_home= gem_path= /users/dylanoshea/.rvm/rubies/ruby-2.1.1/bin/ruby -d /users/dylanoshea/.rvm/src/rubygems-2.2.2/setup.rb --verbose dyld: library not loaded: /users/mpapis/.sm/pkg/versions/openssl/1.0.1f/lib/libssl.1.0.0.dylib   referenced from: /users/dylanoshea/.rvm/rubies/ruby-2.1.1/bin/ruby   reason: image not found /users/dylanoshea/.rvm/scripts/functions/support: line 411: 14265 trace/bpt trap: 5       "$ruby_path" -rrbconfig -e '\     file.open("'"$config_path"'","w") { |file|       rbconfig::config.sort.each{|key,value|         file.write("#{key.gsub(/\.|-/,"_")}=\"#{value.gsub("$","\\$")}\"\n")       }     }   ' > /dev/null 2>&1 dyld: library not loaded: /users/mpapis/.sm/pkg/versions/openssl/1.0.1f/lib/libssl.1.0.0.dylib   referenced from: /users/dylanoshea/.rvm/rubies/ruby-2.1.1/bin/ruby   reason: image not found empty path passed certificates update, functions stack: requirements_osx_update_openssl_cert_run rvm_requiremnts_fail_or_run_action __rvm_osx_ssl_certs_ensure_for_ruby __rvm_osx_ssl_certs_ensure_for_ruby_except_jruby external_import_setup external_import main gemset '' not exist, 'rvm ruby-2.1.1 rvm gemset create ' first, or append '--create'. __rvm_rm_rf gone: /users/dylanoshea/.rvm/tmp/5021* 

i have repeatedly tried deleting, imploding, removing , un/reinstalling of rvm components , ruby versions, doesn't make difference -- still error. curiously, broken path refers "mpapis" 1 of developers of rvm.

dyld: library not loaded: /users/mpapis/.sm/pkg/versions/openssl/1.0.1f/lib/libssl.1.0.0.dylib

any help?

it looks it's temporary bug: https://twitter.com/mpapis/status/447926386314186752. disable-binary option worked me:

rvm reinstall 2.1.1 --disable-binary 

edit - better solution

i see people still have problem. today better solution update rvm this:

rvm stable 

the problem caused rvm - had paths hard-coded ruby binary versions. issue fixed , there's no need in compiling ruby locally. need recent rvm version.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -