Matt Jones wrote:
> You'll need to set GEM_PATH a lot earlier than environment.rb to have
> it work - that file is loaded by the Rails initializer, which (in your
> environment) appears to be coming from an installed gem. You'll want
> to put the setting in either .bashrc (which is loaded for non-
> interactive shells on some systems) or the Mongrel config someplace.
> Settings in .bash_profile are typically only added when running an
> actual login shell.
> 
> --Matt Jones

My .bashrc doesn't get run as the server starts.  I've tried placing the 
GEM_PATH and GEM_HOME in the dispatcher, but I still see the same 
problem: gems required by my app are not being found.  No search is made 
of the local path.  Where would you guys suggest placing the assignment 
to ENV['GEM_PATH'] (and GEM_HOME)?

  Ron
-- 
Posted via http://www.ruby-forum.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to