Question about RVM installation; where to find .bashrc and/or .bash_profile files?

Hi–
Have just installed downloaded and installed RVM from Github and got
this message after download:

You must now finish the install manually:

  1. 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
    path/variable settings:
    [[ -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.
  2. 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.
    #EOF .bashrc
    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
  3. 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.

Thank you.

On 22 Aug 2010, at 10:14, pauld [email protected] wrote:

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.

They live in your home directory, e.g.

/Users/pdenlinger/.bashrc

If you don’t already have them then you can just create them yourself.

Chris