rvm - Error upgrading to Ruby 2.2.4 -


i ran rvm install ruby-2.2.4 , got following error:

$ rvm reinstall ruby-2.2.4 ruby-2.2.4 - #removing src/ruby-2.2.4.. ruby-2.2.4 - #removing rubies/ruby-2.2.4.. searching binary rubies, might take time. no binary rubies available for: osx/10.9/x86_64/ruby-2.2.4. continuing compilation. please read 'rvm mount' more information on binary rubies. checking requirements osx. certificates in '/usr/local/etc/openssl/cert.pem' date. requirements installation successful. installing ruby source to: /users/jackerman/.rvm/rubies/ruby-2.2.4, may take while depending on cpu(s)... ruby-2.2.4 - #downloading ruby-2.2.4, may take while depending on connection... ruby-2.2.4 - #extracting ruby-2.2.4 /users/jackerman/.rvm/src/ruby-2.2.4.... ruby-2.2.4 - #applying patch /users/jackerman/.rvm/patches/ruby/2.2.4/fix_installing_bundled_gems.patch. ruby-2.2.4 - #configuring.......................................................... ruby-2.2.4 - #post-configuration. ruby-2.2.4 - #compiling............................................................. ruby-2.2.4 - #installing............ error running '__rvm_make install', showing last 15 lines of /users/jackerman/.rvm/log/1454705088_ruby-2.2.4/install.log     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems/core_ext/kernel_require.rb:54:in `require'     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems/core_ext/kernel_require.rb:54:in `require'     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems/dependency_installer.rb:3:in `<top (required)>'     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems/core_ext/kernel_require.rb:54:in `require'     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems/core_ext/kernel_require.rb:54:in `require'     /users/jackerman/.rvm/src/ruby-2.2.4/lib/rubygems.rb:556:in `install'     ./tool/rbinstall.rb:722:in `block (2 levels) in <main>'     ./tool/rbinstall.rb:721:in `each'     ./tool/rbinstall.rb:721:in `block in <main>'     ./tool/rbinstall.rb:757:in `call'     ./tool/rbinstall.rb:757:in `block in <main>'     ./tool/rbinstall.rb:754:in `each'     ./tool/rbinstall.rb:754:in `<main>' make: *** [do-install-nodoc] error 1 ++ return 2 there has been error while running make install. halting installation. 

i tried these steps, running rvm reinstall ruby-2.2.4 after each step, no avail:

  • rvm head
  • rvm master
  • then of this:

    $ rvm gem list error  please note `rvm gem ...` removed, try `gem list error` or `rvm gem list error` instead. ( see: 'rvm usage' )  jackerman@jasons-macbook-pro parkme3.1 (staging) $ gem list error /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/yaml.rb:4:in `<top (required)>':  seems ruby installation missing psych (for yaml output).  eliminate warning, please install libyaml , reinstall ruby.  /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/x86_64-darwin13/psych.bundle, 9): library not loaded: /usr/local/lib/libyaml-0.2.dylib (loaderror)   referenced from: /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/x86_64-darwin13/psych.bundle   reason: image not found - /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/x86_64-darwin13/psych.bundle   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/psych.rb:1:in `<top (required)>'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/yaml.rb:5:in `<top (required)>'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems.rb:624:in `load_yaml'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/config_file.rb:328:in `load_file'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/config_file.rb:197:in `initialize'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `new'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/gem_runner.rb:74:in `do_configuration'   /users/jackerman/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/rubygems/gem_runner.rb:39:in `run'   /users/jackerman/.rvm/rubies/ruby-2.2.4/bin/gem:21:in `<main>'  jackerman@jasons-macbook-pro parkme3.1 (staging) $ brew install libyaml  warning: libyaml-0.1.6 installed  jackerman@jasons-macbook-pro parkme3.1 (staging) $ brew reinstall libyaml  ==> reinstalling libyaml  warning: libyaml-0.1.6 installed  jackerman@jasons-macbook-pro parkme3.1 (staging) $ brew unlink libyaml  unlinking /usr/local/cellar/libyaml/0.1.6... 1 symlinks removed  jackerman@jasons-macbook-pro parkme3.1 (staging) $ brew reinstall libyaml  ==> reinstalling libyaml  warning: libyaml-0.1.6 installed, it's not linked  jackerman@jasons-macbook-pro parkme3.1 (staging) $ brew link libyaml  linking /usr/local/cellar/libyaml/0.1.6... 5 symlinks created 
  • then re-tried rvm head , rvm master, reinstalling after each.

install / update autoconf brew install autoconf


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -