[Rails] Re: running .bash_login everytime
Ray Baxter
ray at warmroom.com
Tue Mar 21 18:53:40 GMT 2006
Josh Kieschnick wrote:
> i used
> http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
> to install ruby on rails on my mac. everything works fine unless i close
> the terminal application. after a while of pulling my hair out, i found
> out that everytime i restart terminal, i have to run ". ~/.bash_login"
> to make the paths work right. is that what i'm supposed to do everytme,
> or did i do something wrong?
>
> i'm new to a lot of this stuff, so any help would be greatly
> appreciated.
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
More information about the Rails
mailing list