Skip to content

Instantly share code, notes, and snippets.

@josephlord
Created February 27, 2013 01:37
Show Gist options
  • Save josephlord/5044157 to your computer and use it in GitHub Desktop.
Save josephlord/5044157 to your computer and use it in GitHub Desktop.
~ » rvm get head
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 112 0 0:00:01 0:00:01 --:--:-- 189
100 11525 100 11525 0 0 4945 0 0:00:02 0:00:02 --:--:-- 38674
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 94 0 0:00:01 0:00:01 --:--:-- 101
100 1619k 100 1619k 0 0 428k 0 0:00:03 0:00:03 --:--:-- 799k
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.
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
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm get head && rvm reinstall X --debug
* RVM will run 'rvm requirements' by default, to disable run:
echo rvm_autolibs_flag=0 >> ~/.rvmrc
* RVM will set first installed ruby as default and use it if run as function.
To avoid this behavior either use full path to rvm binary or prefix it with `command `.
* To update RVM loading code run 'rvm get ... --auto-dotfiles'
* RVM will try automatically use available package manager, might require `sudo`,
read more about it in `rvm help autolibs`
# 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!
~ » rvm pkg remove
Beware, 'rvm pkg ...' is deprecated, read about the new autolibs feature: 'rvm help autolibs'.
Removing '/Users/josephl/.rvm/usr' ...
Removed
~ » rvm install ruby --rubygems head --debug
ruby - install
Searching for binary rubies, this might take some time.
Remote file does not exist https://rvm.io/binaries/osx/10.8/x86_64/ruby-2.0.0-p0.tar.bz2
Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/ruby-2.0.0-p0.tar.bz2
Remote file does not exist http://binaries.rubini.us/osx/10.8/x86_64/ruby-2.0.0-p0.tar.bz2
rvm_remote_server_url3 not found
No remote file name found
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.
__rvm_setup_compile_environment_requirements ruby-2.0.0-p0
__rvm_setup_compile_environment_osx_gcc ruby-2.0.0-p0
__rvm_setup_compile_environment_architectures ruby-2.0.0-p0
__rvm_setup_compile_environment_gcc47 ruby-2.0.0-p0
__rvm_setup_compile_environment_smartos ruby-2.0.0-p0
__rvm_setup_compile_environment_sunos ruby-2.0.0-p0
__rvm_setup_compile_environment_openbsd ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_docs ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_tcltk ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_shared_static ruby-2.0.0-p0
__rvm_setup_compile_environment_flags_threads ruby-2.0.0-p0
found compiler: clang
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...
Fetching: http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.bz2
Fetch command: curl -f -L --create-dirs -C - -o ruby-2.0.0-p0.tar.bz2
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/extract.log
[2013-02-27 01:31:54] __rvm_package_extract
__rvm_package_extract () {
rvm_debug __rvm_package_extract:$#: "$@"
[[ -d "$2" ]] || mkdir -p -p "$2"
case "$1" in
(*.zip) unzip -q -o "$1" -d "$2" ;;
(*.tar.bz2) if [[ -n "$ZSH_VERSION" ]]
then
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${=rvm_tar_options:-}
else
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${rvm_tar_options:-}
fi ;;
(*.tar.gz|*.tgz) if [[ -n "$ZSH_VERSION" ]]
then
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${=rvm_tar_options:-}
else
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${rvm_tar_options:-}
fi ;;
(*) return 199 ;;
esac && __rvm_fix_group_permissions "$2"
}
current path: /Users/josephl/.rvm/src
command(3): __rvm_package_extract /Users/josephl/.rvm/archives/ruby-2.0.0-p0.tar.bz2 /Users/josephl/.rvm/tmp/rvm_src_66909
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/josephl/.rvm/src/ruby-2.0.0-p0.
__rvm_rm_rf already gone: /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
Trying patch 'default'.
Patch name 'default'.
All found patches(0): .
__rvm_array_prepend_or_ignore rvm_configure_env CFLAGS="-O3 -O3"
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/configure.log
[2013-02-27 01:31:59] ./configure
current path: /Users/josephl/.rvm/src/ruby-2.0.0-p0
command(8): env CFLAGS=-O3 -O3 ./configure --prefix=/Users/josephl/.rvm/rubies/ruby-2.0.0-p0 --disable-install-doc --without-tcl --without-tk --enable-shared
ruby-2.0.0-p0 - #configuring..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/make.log
[2013-02-27 01:32:32] make
make () {
# undefined
builtin autoload -XUz
}
current path: /Users/josephl/.rvm/src/ruby-2.0.0-p0
command(2): make -j2
ruby-2.0.0-p0 - #compiling...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
__rvm_rm_rf already gone: /Users/josephl/.rvm/src/ruby-2.0.0-p0/.ext/rdoc
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/install.log
[2013-02-27 01:34:04] make
make () {
# undefined
builtin autoload -XUz
}
current path: /Users/josephl/.rvm/src/ruby-2.0.0-p0
command(2): make install
ruby-2.0.0-p0 - #installing ...................................................................................................................................
Running /Users/josephl/.rvm/hooks/after_use_maglev
Running /Users/josephl/.rvm/hooks/after_use_maglev
__rvm_rm_rf already gone: /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d
Retrieving rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d
Fetching: https://github.com/rubygems/rubygems/archive/32f93fc8e5c31a033a4612af0eb639e815f9017d.tar.gz
Fetch command: curl -f -L --create-dirs -C - -o rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d.tgz
No archive, downloading
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 159 100 159 0 0 212 0 --:--:-- --:--:-- --:--:-- 509
100 321k 100 321k 0 0 118k 0 0:00:02 0:00:02 --:--:-- 245k
No checksum for downloaded archive, recording checksum in user configuration.
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/rubygems.extract.log
[2013-02-27 01:34:17] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
[[ -d "$2" ]] || mkdir -p "$2";
case "$1" in
*.zip)
unzip -q -o "$1" -d "$2"
;;
*.tar.bz2)
if [[ -n "$ZSH_VERSION" ]]; then
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${=rvm_tar_options:-};
else
${rvm_tar_command:-tar} xjf "$1" -C "$2" ${rvm_tar_options:-};
fi
;;
*.tar.gz | *.tgz)
if [[ -n "$ZSH_VERSION" ]]; then
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${=rvm_tar_options:-};
else
${rvm_tar_command:-tar} xzf "$1" -C "$2" ${rvm_tar_options:-};
fi
;;
*)
return 199
;;
esac && __rvm_fix_group_permissions "$2"
}
current path: /Users/josephl/.rvm/src/ruby-2.0.0-p0
command(3): __rvm_package_extract /Users/josephl/.rvm/archives/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d.tgz /Users/josephl/.rvm/src
Extracting rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d ....
Removing old Rubygems files...
__rvm_rm_rf already gone: /ubygems.rb
__rvm_rm_rf already gone: /gauntlet_rubygems.rb
__rvm_rm_rf already gone: /rbconfig/
__rvm_rm_rf already gone: /rubygems*
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/rubygems.install.log
[2013-02-27 01:34:17] /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
current path: /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d
command(6): 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-32f93fc8e5c31a033a4612af0eb639e815f9017d/setup.rb
Installing rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d 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-32f93fc8e5c31a033a4612af0eb639e815f9017d/setup.rb',
please read /Users/josephl/.rvm/log/ruby-2.0.0-p0/rubygems.install.log
Installation of rubygems did not complete successfully.
Running /Users/josephl/.rvm/hooks/after_use_maglev
Saving wrappers to '/Users/josephl/.rvm/wrappers/ruby-2.0.0-p0'........
Log file: /Users/josephl/.rvm/log/ruby-2.0.0-p0/chmod.bin.log
[2013-02-27 01:34:18] chmod
current path: /Users/josephl/.rvm/src/ruby-2.0.0-p0
command(10): chmod +x /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/erb /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/gem /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/irb /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/rake /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/rdoc /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ri /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/testrb
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 ...
Executing: '/Users/josephl/.rvm/scripts/gemsets' initial in environment ruby-2.0.0-p0
Running /Users/josephl/.rvm/hooks/after_use_maglev
Install of ruby-2.0.0-p0 - #complete
__rvm_run_compiler:7: command not found: gcc:
Running /Users/josephl/.rvm/hooks/after_install_auto_gem
Running /Users/josephl/.rvm/hooks/after_install_codesign
__rvm_rm_rf already gone: /Users/josephl/.rvm/tmp/66909*
[2013-02-27 01:34:17] /Users/josephl/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
current path: /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d
command(6): 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-32f93fc8e5c31a033a4612af0eb639e815f9017d/setup.rb
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-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- openssl (LoadError)
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/security.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/package.rb:43:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/installer.rb:8:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/request_set.rb:5:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems.rb:195:in `finish_resolve'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/rdoc.rb:14:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/uninstaller.rb:10:in `<top (required)>'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/commands/setup_command.rb:440:in `uninstall_old_gemcutter'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/commands/setup_command.rb:144:in `execute'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/command.rb:305:in `invoke_with_build_args'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/command_manager.rb:170:in `process_args'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/lib/rubygems/command_manager.rb:130:in `run'
from /Users/josephl/.rvm/src/rubygems-32f93fc8e5c31a033a4612af0eb639e815f9017d/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