Chuck Remes wrote: > The standard .bashrc contains a line of code that precludes certain > scripts from executing. It has to do with the logic for checking if > the session is interactive. > > e.g. > [ -z "$PS1" ] && return > > Usually a few other lines are included afterward to, for example, > alias 'ls' and to set PS1 to a new value.
As more information, I looked at the rvm page and I see this there: http://rvm.beginrescueend.com/rvm/install/ Only necessary the first time, put the following line into your profile at the very end, after all path loads etc... if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi And later in the installation instructions: Now add the sourcing line to your profiles: for profile in .bash_profile .bashrc ; do echo 'if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi' >> $HOME/$profile done Note that it is talking about your profile and not your bashrc file. Bob