Skip to content

Instantly share code, notes, and snippets.

@rsanheim
Created September 15, 2009 05:07
Show Gist options
  • Save rsanheim/187128 to your computer and use it in GitHub Desktop.
Save rsanheim/187128 to your computer and use it in GitHub Desktop.
$ rvm update --head
rvm 0.0.38 (2009.09.14) [http://rvm.beginrescueend.com/]
Initialized empty Git repository in /Users/rsanheim/.rvm/src/rvm/.git/
remote: Counting objects: 2469, done.
remote: Compressing objects: 100% (1328/1328), done.
remote: Total 2469 (delta 1391), reused 1416 (delta 725)
Receiving objects: 100% (2469/2469), 388.95 KiB | 172 KiB/s, done.
Resolving deltas: 100% (1391/1391), done.
/Users/rsanheim/.rvm/src/rvm
Installing rvm source to ~/.rvm/scripts/rvm...
rvm is a shell script that allows a user to manage multiple ruby versions in their own account.
<i> In order to use rvm the following line must occur in your shell's loading files:
(a) if [ -s ~/.rvm/scripts/rvm ] ; then source ~/.rvm/scripts/rvm ; fi
grep: /Users/rsanheim/.zshrc: No such file or directory
<?> Do you want this (s)cript to set this up for you, or do it (m)anually yourself ('s' or 'm')? s
w00t!
<?> Do you use b(a)sh or (z)sh or b(o)th for your shell (the default on most *nix systems is bash, press control + C to cancel the installation)
(a/z/o)? a
<i> Ensuring that rvm script location in is scripts/rvm not bin/rvm for: ~/.bash_profile, ~/.bashrc, ~/.zshrc
<i> Be sure that you have XCode Tools installed in order to use rvm.
<i> If you intend on installing MacRuby you must install LLVM first.
<i> There have been a great many updates since previous releases, please:
<i> * remove sourcing of ~/.rvm/current from your shell profiles.
<i> * CLOSE THIS SHELL AND OPEN A NEW ONE FOR rvm.
<i> Please visit the website for much more information: http://rvm.beginrescueend.com/
w⦿‿⦿t!
~ Wayne
cd
rvm 0.0.38 (2009.09.14) [http://rvm.beginrescueend.com/]
rvm 0.0.38 (2009.09.14) [http://rvm.beginrescueend.com/]
~/.rvm/src/rvm (master)$ cd
~ $ rvm reload
~ $ rvm uninstall 1.9
<i> Removing /Users/rsanheim/.rvm/src/ruby-1.9.1-p243...
<i> it seems that /Users/rsanheim/.rvm/ruby-1.9.1-p243 is already non existent.
~ $ rvm 1.9.1 --debug
+ status=0
+ case "$rvm_action" in
+ __rvm_use
+ '[' -z '' ']'
+ __rvm_select
+ __rvm_ruby_string
+ '[' ruby = system ']'
+ '[' '!' -z '' ']'
+ return 0
+ rvm_ruby_interpreter=ruby
+ rvm_ruby_interpreter=ruby
++ echo ruby
++ awk '{print substr($1, 0, 1)}'
+ temp=r
++ echo r
++ grep '[0-9]'
+ '[' '!' -z '' ']'
+ unset temp
+ '[' 1.9.1 = 1.8 ']'
+ '[' 1.9.1 = 1.9 ']'
+ case "$rvm_ruby_interpreter" in
+ '[' '!' -z '' ']'
+ rvm_ruby_version=1.9.1
++ __rvm_db ruby_1.9.1_patch_level
++ rvm_hash_file=/Users/rsanheim/.rvm/config/db
++ touch /Users/rsanheim/.rvm/config/db
++ key=ruby_1.9.1_patch_level
++ shift
++ '[' -z ruby_1.9.1_patch_level ']'
++ value=
++ '[' '' = unset -o '' = delete ']'
++ '[' -z '' ']'
++ grep '^ruby_1.9.1_patch_level=' /Users/rsanheim/.rvm/config/db
++ awk -F= '{print $2}'
++ head -n 1
+ rvm_ruby_patch_level=p243
+ '[' -z rvm_ruby_patch_level ']'
+ '[' -z rvm_ruby_version ']'
+ '[' '!' -z '' ']'
+ '[' '!' -z ruby -a '!' -z 1.9.1 -a ruby '!=' system ']'
++ echo 1.9.1
++ awk -F. '{ print $2 }'
+ rvm_major_version=9
++ echo 1.9.1
++ awk -F. '{ print $3 }'
+ rvm_minor_version=1
+ '[' -z '' ']'
+ rvm_gem_home=/Users/rsanheim/.rvm/gems/ruby/1.9.1
+ '[' '!' -z '' ']'
+ '[' '!' -z '' ']'
+ mkdir -p /Users/rsanheim/.rvm/gems/ruby/1.9.1
+ '[' -z p243 ']'
+ rvm_ruby_package_name=ruby-1.9.1-p243
+ rvm_ruby_home=/Users/rsanheim/.rvm/ruby-1.9.1-p243
+ rvm_ruby_log_path=/Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ rvm_ruby_src_path=/Users/rsanheim/.rvm/src/ruby-1.9.1-p243
+ rvm_ruby_binary=/Users/rsanheim/.rvm/ruby-1.9.1-p243/bin/ruby
+ rvm_ruby_irbrc=/Users/rsanheim/.rvm/ruby-1.9.1-p243/.irbrc
+ rvm_ruby_string=ruby-1.9.1-p243
+ 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 rvm_ruby_string
+ '[' -z ruby ']'
+ '[' ruby = default ']'
+ '[' ruby = system ']'
+ GEM_HOME=/Users/rsanheim/.rvm/gems/ruby/1.9.1
+ export GEM_HOME
+ GEM_PATH=/Users/rsanheim/.rvm/gems/ruby/1.9.1
+ export GEM_PATH
+ MY_RUBY_HOME=/Users/rsanheim/.rvm/ruby-1.9.1-p243
+ export MY_RUBY_HOME
+ IRBRC=/Users/rsanheim/.rvm/ruby-1.9.1-p243/.irbrc
+ export IRBRC
+ '[' -z /Users/rsanheim/.rvm/ruby-1.9.1-p243/.irbrc ']'
+ '[' '!' -d /Users/rsanheim/.rvm/ruby-1.9.1-p243 ']'
+ __rvm_log warn 'ruby 1.9.1 is not installed.'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;33m <w> \033[0m ruby 1.9.1 is not installed.'
<w> ruby 1.9.1 is not installed.
+ echo -n -e 'Would you like rvm to install ruby 1.9.1 for you now?\n(Y/n) ? '
Would you like rvm to install ruby 1.9.1 for you now?
(Y/n) ? + read response
y
+ '[' y = n ']'
+ __rvm_install-ruby ruby 1.9.1 p243
+ '[' -z 1 ']'
+ '[' '!' -z rubygems ']'
+ ruby_options=rubygems
+ unset RUBYOPT
+ case "$rvm_ruby_interpreter" in
+ '[' -z rvm_ruby_configure ']'
+ __rvm_install-source ruby 1.9.1 p243
+ '[' -z 1 ']'
+ status=0
+ __rvm_log info 'Installing Ruby from source to: /Users/rsanheim/.rvm/ruby-1.9.1-p243'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m Installing Ruby from source to: /Users/rsanheim/.rvm/ruby-1.9.1-p243'
<i> Installing Ruby from source to: /Users/rsanheim/.rvm/ruby-1.9.1-p243
+ mkdir -p /Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ pushd /Users/rsanheim/.rvm/src
+ '[' '!' -z '' ']'
+ '[' -z '' -a -z '' ']'
+ '[' '!' -d /Users/rsanheim/.rvm/src/ruby-1.9.1-p243 ']'
+ rvm_url=ftp://ftp.ruby-lang.org/pub/ruby/1.9/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...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tDownloading ruby-1.9.1-p243, this may take a while depending on your connection...'
<i> Downloading ruby-1.9.1-p243, this may take a while depending on your connection...
+ __rvm_fetch ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz
+ pushd /Users/rsanheim/.rvm/archives
+ eval /opt/local/bin/curl -O -L -s --create-dirs -C - ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz
++ /opt/local/bin/curl -O -L -s --create-dirs -C - ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-p243.tar.gz
+ '[' 0 -gt 0 ']'
+ popd
~/.rvm/src ~
+ '[' 0 -eq 0 ']'
+ status=0
+ __rvm_log info '\tExtracting ruby-1.9.1-p243 ...'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;32m <i> \033[0m \tExtracting ruby-1.9.1-p243 ...'
<i> Extracting ruby-1.9.1-p243 ...
+ mkdir -p /Users/rsanheim/.rvm/src/ruby-1.9.1-p243
+ __rvm_run extract tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src
+ log_file_name=extract
+ shift
+ command='tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src'
+ rvm_ruby_log_path=/Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ mkdir -p /Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ '[' 1 ']'
+ __rvm_log debug 'Executing: tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src'
<d> Executing: tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src
+ touch /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/extract.log /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/extract.error.log
+ tee /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/extract.log
++ date '+%Y-%m-%d %H:%M:%S'
+ echo '[2009-09-15 00:58:23] tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src'
+ '[' -z '' -o '' = 0 ']'
+ eval 'tar xzf /Users/rsanheim/.rvm/archives/ruby-1.9.1-p243.tar.gz -C /Users/rsanheim/.rvm/src'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ '[' 0 -eq 0 ']'
+ status=0
+ cd /Users/rsanheim/.rvm/src/ruby-1.9.1-p243
+ '[' 0 -gt 0 ']'
+ '[' '!' -d /Users/rsanheim/.rvm/usr/include/readline ']'
+ __rvm_readline_install
+ pushd /Users/rsanheim/.rvm/src
+ package=readline
+ version=5.2
+ __rvm_fetch ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
+ pushd /Users/rsanheim/.rvm/archives
+ eval /opt/local/bin/curl -O -L -s --create-dirs -C - ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
++ /opt/local/bin/curl -O -L -s --create-dirs -C - ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
+ '[' 0 -gt 0 ']'
+ popd
~/.rvm/src ~/.rvm/src/ruby-1.9.1-p243 ~
+ __rvm_run readline.extract tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/
+ log_file_name=readline.extract
+ shift
+ command='tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/'
+ rvm_ruby_log_path=/Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ mkdir -p /Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ '[' 1 ']'
+ __rvm_log debug 'Executing: tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/'
+ case "$1" in
+ shift
+ echo -e '\n\033[0;35m <d> \033[0m Executing: tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/'
<d> Executing: tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/
+ touch /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/readline.extract.log /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/readline.extract.error.log
+ tee /Users/rsanheim/.rvm/log/ruby-1.9.1-p243/readline.extract.log
++ date '+%Y-%m-%d %H:%M:%S'
+ echo '[2009-09-15 00:58:32] tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/'
+ '[' -z '' -o '' = 0 ']'
+ eval 'tar zxf /Users/rsanheim/.rvm/archives/readline-5.2.tar.gz -C /Users/rsanheim/.rvm/src/'
+ '[' 0 -gt 0 ']'
+ unset log_file command
+ cd /Users/rsanheim/.rvm/src/readline-5.2
++ uname
+ '[' Darwin = Darwin ']'
++ ls -t /Developer/SDKs/
++ head -n 1
+ sdk=MacOSX10.5.sdk
+ CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch x86_64'
+ LDFLAGS='-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch x86_64'
+ export CFLAGS LDFLAGS
+ __rvm_run readline.configure ./configure --prefix=/Users/rsanheim/.rvm/usr --disable-dependency-tracking --disable-static --enable-shared
+ log_file_name=readline.configure
+ shift
+ command='./configure --prefix=/Users/rsanheim/.rvm/usr --disable-dependency-tracking --disable-static --enable-shared'
+ rvm_ruby_log_path=/Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ mkdir -p /Users/rsanheim/.rvm/log/ruby-1.9.1-p243
+ '[' 1 ']'
+ __rvm_log debug 'Executing: ./configure --prefix=/Users/rsanheim/.rvm/usr --disable-dependency-tracking --disable-static --enable-shared'
+ case "$1" in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment