Created
August 26, 2009 03:22
-
-
Save kamal/175272 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MBP:~ kamal$ rvm -v | |
rvm 0.0.18 (2009.08.25) [http://github.com/wayneeseguin/rvm] | |
MBP:~ kamal$ rvm use 1.9 --debug | |
+ case "$action" in | |
+ rvm-use ruby 1.9 | |
+ implementation=ruby | |
+ case "$implementation" in | |
+ '[' 1.9 = 1.8.7 ']' | |
+ '[' 1.9 = 1.8.6 -o 1.9 = 1.8 ']' | |
+ '[' 1.9 = 1.9.2 ']' | |
+ '[' 1.9 = 1.9.1 -o 1.9 = 1.9 ']' | |
+ level=243 | |
+ MY_RUBY_HOME=/Users/kamal/.rvm/ruby-1.9.1-p243 | |
+ GEM_HOME=/Users/kamal/.gem/ruby/1.9.1 | |
+ '[' '!' ruby = default ']' | |
+ '[' '!' -d /Users/kamal/.rvm/ruby-1.9.1-p243 ']' | |
+ rvm-log-warn 'ruby 1.9 is not installed.' | |
+ rvm-log '\e[0;33m <w> \e[0mruby 1.9 is not installed.' | |
+ echo -e '\n \e[0;33m <w> \e[0mruby 1.9 is not installed. \e[0m' | |
<w> ruby 1.9 is not installed. | |
+ rvm-install-ruby ruby 1.9 243 | |
+ case "$implementation" in | |
+ rvm-install-source 1.9 243 | |
+ version=1.9 | |
+ case "$version" in | |
+ major=1.9 | |
+ minor=1 | |
+ level=243 | |
+ package_name=ruby-1.9.1-p243 | |
+ url=ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz | |
+ rvm-log-info 'Installing Ruby from source to: /Users/kamal/.rvm/ruby-1.9.1-p243' | |
+ rvm-log '\e[0;32m <i> \e[0mInstalling Ruby from source to: /Users/kamal/.rvm/ruby-1.9.1-p243' | |
+ echo -e '\n \e[0;32m <i> \e[0mInstalling Ruby from source to: /Users/kamal/.rvm/ruby-1.9.1-p243 \e[0m' | |
<i> Installing Ruby from source to: /Users/kamal/.rvm/ruby-1.9.1-p243 | |
+ mkdir -p /Users/kamal/.rvm/ruby-1.9.1-p243 | |
+ pushd /Users/kamal/.rvm/src | |
+ '[' -d ruby-1.9.1-p243 ']' | |
+ '[' '!' -f ruby-1.9.1-p243.tar.gz ']' | |
+ rvm-log-info '\tDownloading ruby-1.9.1-p243, this may take a while depending on your connection...' | |
+ rvm-log '\e[0;32m <i> \e[0m\tDownloading ruby-1.9.1-p243, this may take a while depending on your connection...' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tDownloading ruby-1.9.1-p243, this may take a while depending on your connection... \e[0m' | |
<i> Downloading ruby-1.9.1-p243, this may take a while depending on your connection... | |
+ /usr/bin/curl -O -L -s ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz | |
+ rvm-log-info '\tExtracting ruby-1.9.1-p243...' | |
+ rvm-log '\e[0;32m <i> \e[0m\tExtracting ruby-1.9.1-p243...' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tExtracting ruby-1.9.1-p243... \e[0m' | |
<i> Extracting ruby-1.9.1-p243... | |
+ tar xzf ruby-1.9.1-p243.tar.gz | |
+ cd ruby-1.9.1-p243 | |
+ rvm-log-info '\tConfiguring ruby-1.9.1-p243 using '\''--enable-shared'\'', this may take a while depending on your cpu(s)...' | |
+ rvm-log '\e[0;32m <i> \e[0m\tConfiguring ruby-1.9.1-p243 using '\''--enable-shared'\'', this may take a while depending on your cpu(s)...' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tConfiguring ruby-1.9.1-p243 using '\''--enable-shared'\'', this may take a while depending on your cpu(s)... \e[0m' | |
<i> Configuring ruby-1.9.1-p243 using '--enable-shared', this may take a while depending on your cpu(s)... | |
+ ./configure --prefix=/Users/kamal/.rvm/ruby-1.9.1-p243 --enable-shared | |
+ rvm-log-info '\tCompiling ruby-1.9.1-p243, this may take a while, depending on your cpu(s)...' | |
+ rvm-log '\e[0;32m <i> \e[0m\tCompiling ruby-1.9.1-p243, this may take a while, depending on your cpu(s)...' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tCompiling ruby-1.9.1-p243, this may take a while, depending on your cpu(s)... \e[0m' | |
<i> Compiling ruby-1.9.1-p243, this may take a while, depending on your cpu(s)... | |
+ make | |
+ rvm-log-info '\tInstalling ruby-1.9.1-p243' | |
+ rvm-log '\e[0;32m <i> \e[0m\tInstalling ruby-1.9.1-p243' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tInstalling ruby-1.9.1-p243 \e[0m' | |
<i> Installing ruby-1.9.1-p243 | |
+ make install | |
+ chmod +x /Users/kamal/.rvm/ruby-1.9.1-p243/bin/erb /Users/kamal/.rvm/ruby-1.9.1-p243/bin/gem /Users/kamal/.rvm/ruby-1.9.1-p243/bin/irb /Users/kamal/.rvm/ruby-1.9.1-p243/bin/rake /Users/kamal/.rvm/ruby-1.9.1-p243/bin/rdoc /Users/kamal/.rvm/ruby-1.9.1-p243/bin/ri /Users/kamal/.rvm/ruby-1.9.1-p243/bin/ruby /Users/kamal/.rvm/ruby-1.9.1-p243/bin/testrb | |
+ ln -fs /Users/kamal/.rvm/ruby-1.9.1-p243/bin/ruby /Users/kamal/.rvm/bin/ruby-1.9.1-p243 | |
+ rvm-log-info '\tInstalling rubygems dedicated to ruby-1.9.1-p243...' | |
+ rvm-log '\e[0;32m <i> \e[0m\tInstalling rubygems dedicated to ruby-1.9.1-p243...' | |
+ echo -e '\n \e[0;32m <i> \e[0m\tInstalling rubygems dedicated to ruby-1.9.1-p243... \e[0m' | |
<i> Installing rubygems dedicated to ruby-1.9.1-p243... | |
+ gem_package_name=rubygems-1.3.5 | |
+ gem_url=http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz | |
+ '[' -d rubygems-1.3.5 ']' | |
+ '[' '!' -f rubygems-1.3.5.tgz ']' | |
+ /usr/bin/curl -O -L -s http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz | |
+ tar zxf rubygems-1.3.5.tgz | |
+ cd rubygems-1.3.5 | |
+ sed -i '' 's/require_paths\.join/require_paths.to_a.join/' /Users/kamal/.rvm/src/ruby-1.9.1-p243/rubygems-1.3.5/lib/rubygems/gem_path_searcher.rb | |
+ /Users/kamal/.rvm/ruby-1.9.1-p243/bin/ruby ./setup.rb | |
+ popd | |
+ rvm-log-info 'Installation of ruby-1.9.1-p243 complete.' | |
+ rvm-log '\e[0;32m <i> \e[0mInstallation of ruby-1.9.1-p243 complete.' | |
+ echo -e '\n \e[0;32m <i> \e[0mInstallation of ruby-1.9.1-p243 complete. \e[0m' | |
<i> Installation of ruby-1.9.1-p243 complete. | |
+ for gem_name in rake | |
+ rvm-log-info 'Installing rake' | |
+ rvm-log '\e[0;32m <i> \e[0mInstalling rake' | |
+ echo -e '\n \e[0;32m <i> \e[0mInstalling rake \e[0m' | |
<i> Installing rake | |
+ /Users/kamal/.rvm/ruby-1.9.1-p243/bin/gem install rake --no-rdoc --no-ri -q | |
++ /Users/kamal/.rvm/ruby-1.9.1-p243/bin/ruby -v | |
++ sed 's/^\(.*\) (.*$/\1/' | |
+ RUBY_VERSION='ruby 1.9.1p243' | |
+ export GEM_HOME MY_RUBY_HOME RUBY_VERSION | |
+ echo 'PATH=/Users/kamal/.rvm/ruby-1.9.1-p243/bin:/Users/kamal/.gem/ruby/1.9.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin ; export PATH' | |
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME | |
+ eval 'export RUBY_VERSION' | |
++ export RUBY_VERSION | |
+ eval 'value=$RUBY_VERSION' | |
++ value='ruby 1.9.1p243' | |
+ echo 'RUBY_VERSION='\''ruby 1.9.1p243'\'' ; export RUBY_VERSION' | |
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME | |
+ eval 'export GEM_HOME' | |
++ export GEM_HOME | |
+ eval 'value=$GEM_HOME' | |
++ value=/Users/kamal/.gem/ruby/1.9.1 | |
+ echo 'GEM_HOME='\''/Users/kamal/.gem/ruby/1.9.1'\'' ; export GEM_HOME' | |
+ for variable in RUBY_VERSION GEM_HOME MY_RUBY_HOME | |
+ eval 'export MY_RUBY_HOME' | |
++ export MY_RUBY_HOME | |
+ eval 'value=$MY_RUBY_HOME' | |
++ value=/Users/kamal/.rvm/ruby-1.9.1-p243 | |
+ echo 'MY_RUBY_HOME='\''/Users/kamal/.rvm/ruby-1.9.1-p243'\'' ; export MY_RUBY_HOME' | |
+ rvm-log-info 'Switching to ruby 1.9 ...' | |
+ rvm-log '\e[0;32m <i> \e[0mSwitching to ruby 1.9 ...' | |
+ echo -e '\n \e[0;32m <i> \e[0mSwitching to ruby 1.9 ... \e[0m' | |
<i> Switching to ruby 1.9 ... | |
+ '[' '!' -z '3.2.17(1)-release' ']' | |
+ exec bash -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment