On Wed, Mar 18, 2009 at 4:47 PM, elle <wazne...@gmail.com> wrote:
>
> Hello,
>
> So, I have something happening that I don't understand. I am on OS
> 10.5.6 and followed Dan Benjamin's (Hivelogic) advice on how to
> install Ruby, MySQL.... As he suggests, I added . ~/.bash_login with
> the path for the MySQL installation. I also added . ~/.profile with
> the path for the Ruby installation.
>
> Now, when I start Terminal and run:
> % ruby -v    # -> version 1.8.6
> % gem list  # -> I get a list with various versions of active record,
> actionmailer, rake and... no mysql (2.7) gem
>
> Then if I run:
> % . ~/.profile
> % ruby -v      # ->  version 1.8.7
> % gem list    # Get updated gem list including mysql gem
>
> But if I close that terminal window and open a new one -- the above is
> reset.
>
> Why does that happen? and how do I get the path to load automatically?


Try putting this stuff in a file called .bashrc.



-- 
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to