Skip to content

Commit

Permalink
Use correct RVM installer script. Fixes #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Frye committed Oct 14, 2011
1 parent 0484d7e commit e3d9b6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions railsready.sh
Expand Up @@ -125,10 +125,10 @@ if [ $whichRuby -eq 1 ] ; then
elif [ $whichRuby -eq 2 ] ; then elif [ $whichRuby -eq 2 ] ; then
#thanks wayneeseguin :) #thanks wayneeseguin :)
echo -e "\n=> Installing RVM the Ruby enVironment Manager http://rvm.beginrescueend.com/rvm/install/ \n" echo -e "\n=> Installing RVM the Ruby enVironment Manager http://rvm.beginrescueend.com/rvm/install/ \n"
curl -O -L -k http://rvm.beginrescueend.com/releases/rvm-install-head curl -O -L -k https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer
chmod +x rvm-install-head chmod +x rvm-installer
"$PWD/rvm-install-head" >> $log_file 2>&1 "$PWD/rvm-installer" >> $log_file 2>&1
[[ -f rvm-install-head ]] && rm -f rvm-install-head [[ -f rvm-installer ]] && rm -f rvm-installer
echo -e "\n=> Setting up RVM to load with new shells..." echo -e "\n=> Setting up RVM to load with new shells..."
#if RVM is installed as user root it goes to /usr/local/rvm/ not ~/.rvm #if RVM is installed as user root it goes to /usr/local/rvm/ not ~/.rvm
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> "$HOME/.bash_profile" echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> "$HOME/.bash_profile"
Expand Down

0 comments on commit e3d9b6e

Please sign in to comment.