Permalink
Browse files

Use correct RVM installer script. Fixes #14

  • Loading branch information...
1 parent 0484d7e commit e3d9b6e1a84f0fa96c8e04f4a7a749200ca4c1b7 @joshfng joshfng committed Oct 14, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 railsready.sh
View
8 railsready.sh
@@ -125,10 +125,10 @@ if [ $whichRuby -eq 1 ] ; then
elif [ $whichRuby -eq 2 ] ; then
#thanks wayneeseguin :)
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
- chmod +x rvm-install-head
- "$PWD/rvm-install-head" >> $log_file 2>&1
- [[ -f rvm-install-head ]] && rm -f rvm-install-head
+ curl -O -L -k https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer
+ chmod +x rvm-installer
+ "$PWD/rvm-installer" >> $log_file 2>&1
+ [[ -f rvm-installer ]] && rm -f rvm-installer
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
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> "$HOME/.bash_profile"

0 comments on commit e3d9b6e

Please sign in to comment.