Have just installed downloaded and installed RVM from Github and got
this message after download:
You must now finish the install manually:
- Place the folowing line at the end of your shell’s loading
files(.bashrc or .bash_profile for bash and .zshrc for zsh), after all
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
Please note that this must only occur once - so, you only need to
add it the first time you install rvm.
- Ensure that there is no ‘return’ from inside the .bashrc file.
(otherwise rvm will be prevented from working properly).
This means that if you see ‘[ -z “$PS1” ] && return’ then you must
change this line to:
if [[ -n “$PS1” ]] ; then
… original content that was below the && return line …
fi # <= be sure to close the if.
Be absolutely sure to REMOVE the ‘&& return’.
If you wish to DRY up your config you can ‘source ~/.bashrc’ at the
bottom of your .bash_profile.
placing all non-interactive items in the .bashrc, including the
‘source’ line above
- Then CLOSE THIS SHELL and open a new one in order to use rvm.
Installation of RVM to /Users/pdenlinger/.rvm/ is complete.
I am using Snow Leopard, and would like to know where I can find
the .bashrc and/or .bash_profile files. Which directory are they in?
Tried to find them but had no luck.