Permalink
Browse files

Merge pull request #20 from greglnelson/patch-1

have .bashrc load rvm , otherwise rvm function doesn't always get added ...
  • Loading branch information...
2 parents 56687f4 + 448c5c5 commit 6340cc5073fbd69b88c7fd53777a687daaf6660e @joshfng joshfng committed Feb 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 railsready.sh
View
@@ -133,6 +133,7 @@ elif [ $whichRuby -eq 2 ] ; then
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"
+ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*' >> "$HOME/.bashrc"
echo "==> done..."
echo "=> Loading RVM..."
if [ -f ~/.bashrc ] ; then

0 comments on commit 6340cc5

Please sign in to comment.