Skip to content

Instantly share code, notes, and snippets.

@DylanFM
Created September 7, 2009 02:01
Show Gist options
  • Save DylanFM/182098 to your computer and use it in GitHub Desktop.
Save DylanFM/182098 to your computer and use it in GitHub Desktop.
[~] : rvm 1.8.6 --debug
+ case "$rvm_action" in
+ __rvm_use ruby 1.8.6
+ '[' -z '' ']'
+ __rvm_select ruby 1.8.6
+ rvm_ruby_interpreter=ruby
+ rvm_ruby_interpreter=ruby
+ '[' 1.8.6 = 1.8 ']'
+ '[' 1.8.6 = 1.9 ']'
+ case "$rvm_ruby_interpreter" in
+ '[' '!' -z '' ']'
+ rvm_ruby_version=1.8.6
++ __rvm_db ruby_1.8.6_patch_level
++ rvm_hash_file=/Users/dylanfm/.rvm/config/db
++ touch /Users/dylanfm/.rvm/config/db
++ key=ruby_1.8.6_patch_level
++ shift
++ '[' -z ruby_1.8.6_patch_level ']'
++ '[' ruby_1.8.6_patch_level = unset -o ruby_1.8.6_patch_level = delete ']'
++ value=
++ '[' -z '' ']'
++ grep '^ruby_1.8.6_patch_level=' /Users/dylanfm/.rvm/config/db
++ head -n 1
++ awk -F= '{print $2}'
+ rvm_ruby_patch_level=p383
+ '[' -z rvm_ruby_patch_level ']'
+ '[' -z rvm_ruby_version ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z ruby -a '!' -z 1.8.6 ']'
++ echo 1.8.6
++ awk -F. '{ print $2 }'
+ rvm_major_version=8
++ echo 1.8.6
++ awk -F. '{ print $3 }'
+ rvm_minor_version=6
+ '[' -z '' ']'
+ rvm_gem_home=/Users/dylanfm/.rvm/gems/ruby/1.8.6
+ mkdir -p /Users/dylanfm/.rvm/gems/ruby/1.8.6
+ '[' -z p383 ']'
+ rvm_ruby_package_name=ruby-1.8.6-p383
+ rvm_ruby_home=/Users/dylanfm/.rvm/ruby-1.8.6-p383
+ rvm_ruby_log_path=/Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ rvm_ruby_src_path=/Users/dylanfm/.rvm/src/ruby-1.8.6-p383
+ rvm_ruby_binary=/Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby
+ rvm_ruby_irbrc=/Users/dylanfm/.rvm/ruby-1.8.6-p383/.irbrc
+ rvm_selected=1
+ export rvm_ruby_interpreter rvm_ruby_version rvm_ruby_repo_url rvm_ruby_version rvm_ruby_package_name rvm_url rvm_ruby_patch_level rvm_ruby_configure rvm_ruby_make rvm_ruby_make_install rvm_ruby_rev rvm_ruby_tag rvm_major_version rvm_minor_version rvm_gem_set_name rvm_gem_path rvm_gem_home rvm_path rvm_source_path rvm_bin_path rvm_ruby_binary rvm_ruby_package_name rvm_ruby_home rvm_log_path rvm_ruby_log_path rvm_source_path rvm_ruby_src_path rvm_ruby_irbrc rvm_selected
+ '[' -z ruby ']'
+ '[' ruby = default -o ruby = system ']'
+ GEM_HOME=/Users/dylanfm/.rvm/gems/ruby/1.8.6
+ export GEM_HOME
+ MY_RUBY_HOME=/Users/dylanfm/.rvm/ruby-1.8.6-p383
+ export MY_RUBY_HOME
+ IRBRC=/Users/dylanfm/.rvm/ruby-1.8.6-p383/.irbrc
+ export IRBRC
+ '[' -z /Users/dylanfm/.rvm/ruby-1.8.6-p383/.irbrc ']'
+ '[' '!' -d /Users/dylanfm/.rvm/ruby-1.8.6-p383 ']'
+ __rvm_log warn 'ruby 1.8.6 is not installed.'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;33m <w> \033[0m ruby 1.8.6 is not installed.'
<w> ruby 1.8.6 is not installed.
+ __rvm_install-ruby ruby 1.8.6 p383
+ '[' -z 1 ']'
+ '[' '!' -z '' ']'
+ case "$rvm_ruby_interpreter" in
+ '[' -z rvm_ruby_configure ']'
+ __rvm_install-source ruby 1.8.6 p383
+ '[' -z 1 ']'
+ __rvm_log info 'Installing Ruby from source to: /Users/dylanfm/.rvm/ruby-1.8.6-p383'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m Installing Ruby from source to: /Users/dylanfm/.rvm/ruby-1.8.6-p383'
<i> Installing Ruby from source to: /Users/dylanfm/.rvm/ruby-1.8.6-p383
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ pushd /Users/dylanfm/.rvm/src
+ '[' '!' -z '' ']'
+ '[' -z '' -a -z '' ']'
+ '[' '!' -d /Users/dylanfm/.rvm/src/ruby-1.8.6-p383 ']'
+ rvm_url=ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p383.tar.gz
+ __rvm_log info '\tDownloading ruby-1.8.6-p383, this may take a while depending on your connection...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tDownloading ruby-1.8.6-p383, this may take a while depending on your connection...'
<i> Downloading ruby-1.8.6-p383, this may take a while depending on your connection...
+ __rvm_fetch ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p383.tar.gz
+ pushd /Users/dylanfm/.rvm/archives
+ eval /usr/bin/curl -O -L -s --create-dirs -C - ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p383.tar.gz
++ /usr/bin/curl -O -L -s --create-dirs -C - ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p383.tar.gz
+ '[' 0 -gt 0 ']'
+ popd
~/.rvm/src ~
+ __rvm_log info '\tExtracting ruby-1.8.6-p383 ...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tExtracting ruby-1.8.6-p383 ...'
<i> Extracting ruby-1.8.6-p383 ...
+ mkdir -p /Users/dylanfm/.rvm/src/ruby-1.8.6-p383
+ __rvm_run extract tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src
+ log_file_name=extract
+ shift
+ command='tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src'
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ '[' 1 ']'
+ __rvm_log debug 'Executing: tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src'
<d> Executing: tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src
+ touch /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/extract.log /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/extract.error.log
+ eval 'nice -n 0 tar xzf /Users/dylanfm/.rvm/archives/ruby-1.8.6-p383.tar.gz -C /Users/dylanfm/.rvm/src'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ cd /Users/dylanfm/.rvm/src/ruby-1.8.6-p383
+ '[' 0 -gt 0 ']'
+ '[' '!' -s /Users/dylanfm/.rvm/src/ruby-1.8.6-p383/configure -a ruby = ruby ']'
+ '[' 0 -gt 0 ']'
+ '[' -s ./Makefile -a -z '' ']'
+ '[' -s ./configure ']'
+ __rvm_log info '\tConfiguring ruby-1.8.6-p383 using , this may take a while depending on your cpu(s)...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tConfiguring ruby-1.8.6-p383 using , this may take a while depending on your cpu(s)...'
<i> Configuring ruby-1.8.6-p383 using , this may take a while depending on your cpu(s)...
+ __rvm_run configure ./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383
+ log_file_name=configure
+ shift
+ command='./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383'
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ '[' 1 ']'
+ __rvm_log debug 'Executing: ./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: ./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383'
<d> Executing: ./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383
+ touch /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/configure.log /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/configure.error.log
+ eval 'nice -n 0 ./configure --prefix=/Users/dylanfm/.rvm/ruby-1.8.6-p383'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ __rvm_log info '\tCompiling ruby-1.8.6-p383, this may take a while, depending on your cpu(s)...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tCompiling ruby-1.8.6-p383, this may take a while, depending on your cpu(s)...'
<i> Compiling ruby-1.8.6-p383, this may take a while, depending on your cpu(s)...
+ '[' -z '' ']'
+ __rvm_run make make
+ log_file_name=make
+ shift
+ command=make
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ '[' 1 ']'
+ __rvm_log debug 'Executing: make'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: make'
<d> Executing: make
+ touch /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/make.log /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/make.error.log
+ eval 'nice -n 0 make'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ '[' -z '' ']'
+ __rvm_log info '\tInstalling ruby-1.8.6-p383'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tInstalling ruby-1.8.6-p383'
<i> Installing ruby-1.8.6-p383
+ __rvm_run install make install
+ log_file_name=install
+ shift
+ command='make install'
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ '[' 1 ']'
+ __rvm_log debug 'Executing: make install'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: make install'
<d> Executing: make install
+ touch /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/install.log /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/install.error.log
+ eval 'nice -n 0 make install'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ __rvm_run chmod.bin chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb
+ log_file_name=chmod.bin
+ shift
+ command='chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb'
+ mkdir -p /Users/dylanfm/.rvm/log/ruby-1.8.6-p383
+ '[' 1 ']'
+ __rvm_log debug 'Executing: chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb'
<d> Executing: chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb
+ touch /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/chmod.bin.log /Users/dylanfm/.rvm/log/ruby-1.8.6-p383/chmod.bin.error.log
+ eval 'nice -n 0 chmod +x /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/erb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/irb /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/rdoc /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ri /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby /Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/testrb'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ __rvm_bin_scripts
+ '[' -z 1 ']'
++ cat
+ ruby_wrapper='#!/bin/bash
GEM_HOME=/Users/dylanfm/.rvm/gems/ruby/1.8.6 ; export GEM_HOME
MY_RUBY_HOME=/Users/dylanfm/.rvm/ruby-1.8.6-p383 ; export MY_RUBY_HOME
PATH=/Users/dylanfm/.rvm/ruby-1.8.6-p383/bin:/Users/dylanfm/.rvm/gems/ruby/1.8.6/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/X11/bin ; export PATH
exec "/Users/dylanfm/.rvm/ruby-1.8.6-p383/bin/ruby" "$@"'
+ echo '#!/bin/bash
GEM_HOME=/Users/dylanfm/.rvm/gems/ruby/1.8.6 ; export GEM_HOME
MY_RUBY_HOME=/Users/dylanfm/.rvm/ruby-1.8.6-p383 ; export MY_RUBY_HOME
PATH=/Users/dylanfm/.r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment