[Rails] Re: running .bash_login everytime

Ray Baxter
2006-03-21T20:50:41Z

Josh Kieschnick wrote:
>> Two possibilities:
>>
>> Do you have ~/.bash_profile file? The contents of that file are
>> preferred over the contents of ~/.bash_login, so you need to combine
the
>> two and get rid of the other.
>>
>> Move the relevant contents of ~/.bash_login to ~/.bashrc The contents
of
>> .bash_login are only sourced when bash is invoked as a login shell,
>> although my limited testing on mac os x shows that most normal ways of
>> opening a new terminal does source my .bash_profile.
>>
>> Ray
>
> I just checked that, niether one of those other files exist when I tried
> to edit them. I''m guessing another problem could be the actual
location
> of the file, but I typed it just like it was on the previously mentioned
> tutorial.
>


The file ~/.bash_login is in your home directory. That''s what the
"~"
means. What''s the result of typing

ls -l ~/.bash_login

in the Terminal?

--

Ray