.rvm/scripts/functions/support: line 490: 10144 Trace/BPT trap: 5 issue
When I was trying to install ruby-2.1.3 via RVM (rvm install 2.1.3), I got the following error:
ruby-2.1.3 - #validate archive ruby-2.1.3 - #extract ruby-2.1.3 - #validate binary ruby-2.1.3 - #setup ruby-2.1.3 - #gemset created /Users/navid/.rvm/gems/ruby-2.1.3@global ruby-2.1.3 - #importing gemset /Users/navid/.rvm/gemsets/global.gems..........................- ruby-2.1.3 - #generating global wrappers.............. ruby-2.1.3 - #gemset created /Users/navid/.rvm/gems/ruby-2.1.3 ruby-2.1.3 - #importing gemsetfile /Users/navid/.rvm/gemsets/default.gems evaluated to empty gem list ruby-2.1.3 - #generating default wrappers.............. /Users/navid/.rvm/scripts/functions/support: line 490: 10144 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 Empty path passed to 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
I resolved this issue by reinstalling ruby 2.1.3 with –disable-binary option:
$ rvm reinstall 2.1.3 --disable-binary ruby-2.1.3 - #removing rubies/ruby-2.1.3.. Checking requirements for osx. Certificates in '/opt/boxen/homebrew/etc/openssl/cert.pem' are already up to date. Requirements installation successful. Installing Ruby from source to: /Users/navid/.rvm/rubies/ruby-2.1.3, this may take a while depending on your cpu(s)... ruby-2.1.3 - #downloading ruby-2.1.3, this may take a while depending on your connection... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 11.4M 100 11.4M 0 0 803k 0 0:00:14 0:00:14 --:--:-- 848k ruby-2.1.3 - #extracting ruby-2.1.3 to /Users/navidkamali/.rvm/src/ruby-2.1.3.... ruby-2.1.3 - #configuring..................................................... ruby-2.1.3 - #post-configuration. ruby-2.1.3 - #compiling.............................................................................- ruby-2.1.3 - #installing............... ruby-2.1.3 - #making binaries executable.. Rubygems 2.2.2 already available in installed ruby, skipping installation, use --force to reinstall. ruby-2.1.3 - #gemset created /Users/navid/.rvm/gems/ruby-2.1.3@global ruby-2.1.3 - #importing gemset /Users/navid/.rvm/gemsets/global.gems..........................- ruby-2.1.3 - #generating global wrappers........ ruby-2.1.3 - #gemset created /Users/navid/.rvm/gems/ruby-2.1.3 ruby-2.1.3 - #importing gemsetfile /Users/navid/.rvm/gemsets/default.gems evaluated to empty gem list ruby-2.1.3 - #generating default wrappers........ ruby-2.1.3 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). Install of ruby-2.1.3 - #complete Ruby was built without documentation, to build it run: rvm docs generate-ri Making gemset ruby-2.1.3 pristine.................................................................. Making gemset ruby-2.1.3@global pristine............................................................|.rvm/scripts/functions/support: line 490: 10144 Trace/BPT trap: 5 issue,