Jose Hales-Garcia wrote:
> On Sep 29, 2010, at 6:24 PM, Ast Jay wrote:
> 
>> echo $SHELL gives me:
>> 
>> /bin/bash
>> 
>> mate .profile gives me:
>> 
>> export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
>> 
>> I'm on OSX 10.6.4
> 
> I did a test and found that .bash_profile overrides .profile.  You 
> should check that you don't have a .bash_profile file with a $PATH 
> definition of its own.
> 
> I don't fully understand the subtle interactions of Bash resource files 
> (I use TCSH myself), but you might try renaming .profile to 
> .bash_profile.
> 
> Jose
> .......................................................
> Jose Hales-Garcia
> UCLA Department of Statistics
> jose.halesgarcia / stat.ucla.edu

This is the content of my .bash_profile:

export PATH=$PATH:/usr/local/mysql/bin

if [[ -s "$HOME/.rvm/scripts/rvm" ]]  ; then source 
"$HOME/.rvm/scripts/rvm" ; fi

[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"

I have replaced it's contents with that of my .profile - and it works! 
Think it will be safe tho? (I uninstalled RVM so guess so?) Thanks for 
your help btw Jose!

-- 
Posted via http://www.ruby-forum.com/.