Skip to content

Instantly share code, notes, and snippets.

@josephlord
Last active December 14, 2015 07:18
Show Gist options
  • Save josephlord/5049150 to your computer and use it in GitHub Desktop.
Save josephlord/5049150 to your computer and use it in GitHub Desktop.
rvm get head rvm remove 2.0.0 rvm install 2.0.0 --autolibs=3
~ » rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 175 0 0:00:01 0:00:01 --:--:-- 259
100 11525 100 11525 0 0 7088 0 0:00:01 0:00:01 --:--:-- 58207
Downloading RVM from wayneeseguin branch master
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 75 0 0:00:01 0:00:01 --:--:-- 79
0 124 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 1620k 100 1620k 0 0 272k 0 0:00:05 0:00:05 --:--:-- 740k
Upgrading the RVM installation in /Users/josephl/.rvm/
RVM PATH line found in /Users/josephl/.bashrc.
RVM sourcing line found in /Users/josephl/.bash_profile /Users/josephl/.zshrc.
Installing rvm gem in 1 gemsets ERROR: Loading command: install (LoadError)
cannot load such file -- openssl
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
Upgrade Notes:
* WARNING: You're using ~/.profile, make sure you load it,
add the following line to ~/.bash_profile if it exists
otherwise add it to ~/.bash_login:
source ~/.profile
* No new notes to display.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues run 'rvm requirements' or read 'rvm notes'
Upgrade of RVM in /Users/josephl/.rvm/ is complete.
# Joseph Lord,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and
# more enjoyable!!!
#
# ~Wayne
RVM reloaded!
~ » rvmremove 2.0.0
zsh: command not found: rvmremove
~ » rvm remove 2.0.0
Removing /Users/josephl/.rvm/src/ruby-2.0.0-p0...
Removing /Users/josephl/.rvm/rubies/ruby-2.0.0-p0...
Removing ruby-2.0.0-p0 aliases...
Removing ruby-2.0.0-p0 wrappers...
Removing ruby-2.0.0-p0 environments...
Removing ruby-2.0.0-p0 binaries...
~ » rvm install 2.0.0 --autolibs=3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Installing Ruby from source to: /Users/josephl/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, this may take a while depending on your connection...
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/josephl/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/josephl/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #configuring..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p0 - #compiling...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
ruby-2.0.0-p0 - #installing ...................................................................................................................................
Retrieving rubygems-5948741c071893795426aaaf1e284ef6ee6c458c
Extracting rubygems-5948741c071893795426aaaf1e284ef6ee6c458c ...
Removing old Rubygems files...
Installing rubygems-5948741c071893795426aaaf1e284ef6ee6c458c for ruby-2.0.0-p0.............................
Error running 'env GEM_PATH=/Users/josephl/.rvm/gems/ruby-2.0.0-p0:/Users/josephl/.rvm/gems/ruby-2.0.0-p0@global:/Users/josephl/.rvm/gems/ruby-2.0.0-p0:/Users/josephl/.rvm/gems/ruby-2.0.0-p0@global GEM_HOME=/Users/josephl/.rvm/gems/ruby-2.0.0-p0 /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -d /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/setup.rb',
please read /Users/josephl/.rvm/log/ruby-2.0.0-p0/rubygems.install.log
Installation of rubygems did not complete successfully.
Saving wrappers to '/Users/josephl/.rvm/wrappers/ruby-2.0.0-p0'........
ruby-2.0.0-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-2.0.0-p0 - #importing default gemsets, this may take time ...
Install of ruby-2.0.0-p0 - #complete
__rvm_run_compiler:7: command not found: gcc:
~ » which gcc
gcc: aliased to nocorrect gcc
~ » gcc
i686-apple-darwin11-llvm-gcc-4.2: no input files
~ » whereis gcc
/usr/bin/gcc
~ »
[2013-02-27 16:13:55] /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
Exception `LoadError' at /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1073 - cannot load such file -- rubygems/defaults/operating_system
Exception `LoadError' at /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1082 - cannot load such file -- rubygems/defaults/ruby
/Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- openssl (LoadError)
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/security.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/package.rb:43:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/installer.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/request_set.rb:5:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems.rb:195:in `finish_resolve'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/rdoc.rb:14:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/uninstaller.rb:10:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/commands/setup_command.rb:440:in `uninstall_old_gemcutter'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/commands/setup_command.rb:144:in `execute'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/command.rb:305:in `invoke_with_build_args'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/command_manager.rb:170:in `process_args'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/command_manager.rb:130:in `run'
from /Users/josephl/.rvm/src/rubygems-5948741c071893795426aaaf1e284ef6ee6c458c/lib/rubygems/gem_runner.rb:60:in `run'
from setup.rb:45:in `<main>'
RubyGems 2.0.0 installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment