Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

have .bashrc load rvm , otherwise rvm function doesn't always get added ... #20

Merged
merged 1 commit into from

2 participants

@greglnelson

...as user would expect

used this great script in a virtual machine install and had problem using rvm (in ubuntu)
adding this fixed it

Greg Nelson have .bashrc load rvm , otherwise rvm function doesn't always get add…
…ed as user would expect

used this great script in a virtual machine install and had problem using rvm (in ubuntu)
adding this fixed it
448c5c5
@joshfng joshfng merged commit 6340cc5 into joshfng:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 10, 2012
  1. have .bashrc load rvm , otherwise rvm function doesn't always get add…

    Greg Nelson authored
    …ed as user would expect
    
    used this great script in a virtual machine install and had problem using rvm (in ubuntu)
    adding this fixed it
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  railsready.sh
View
1  railsready.sh
@@ -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
Something went wrong with that request. Please try again.