Re: .bash_login help!

Sebastian Probst Eide
Fri, 11 May 2007 18:10:48 -0000

Never mind...
Sorry.

One of the first things I tried to do to solve the problem was to get
my old .bash_login from a backup. I couldn''t find one in my backup
though. I then tried to remove the .bash_login I just had created
thinking that maybe there hadn''t been one originally, but things still
didn''t work so I created it once more. What I might have forgotten was
to restart the terminal though, because when trying to delete it now,
it sort of works. I still got a few error, but after reinstalling
rails and mongrel things seem to work.

That leads to another question though. How could a single .bash_login
file ruin my whole terminal workflow? I am positive that the new PATH
that was exported in the .bash_login file did reference $PATH so any
values already present or added by other files should be preserved...
do you have any idea?

Best regards
Sebastian



On May 11, 7:50 pm, Sebastian Probst Eide
<sebastian.probst.e...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> My setup worked perfectly! I had installed all sorts of things I
> needed for RoR with MacPorts and a lot of gems and then I wanted to be
> smart and add mySQL to the path in .bash_login so I could access it in
> the terminal...
>
> I typed mate .bash_login (opening the document .bash_login in textmate
> if it exists or creating a new one in the current folder) while in the
> home directory in the terminal and got a blank document in TextMate. I
> pasted in the path to mySQL and saved it.
> I must have overwritten some previous version without being told
> because after that I couldn''t do any of my normal terminal stuff
> anymore!
>
> I then manually added all the paths I could think of and look up in
> the file system to the .bash_login but a lot of things still don''t
> work. I tried to reinstall all the ports apps and all the gems in hope
> that one of the package managers would do some .bash_login magic for
> me, but none of them did.
>
> When trying to run the ruby script/server command I now get:
>
> ./script/../config/boot.rb:18:in `require'': No such file to load
--
> rubygems (LoadError)
>         from ./script/../config/boot.rb:18
>         from script/server:2:in `require''
>         from script/server:2
>
> Could one of you rails developers out there who are on a mac do me a
> favor and copy and paste their .bash_login? Feel free to remove all
> parts that don''t have anything to do with ruby and ruby on rails.
>
> Thanks.
>
> Best regards
> Sebastian


--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org