Several post that I have read say that it is deprecated. When I switched from using
ENV['RAILS_ENV'] ||= 'production' to using RAILS_ENV='production' in my environment file my app now loads in production just fine. When I was using ENV['RAILS_ENV'] ||= 'production' it kept coming up in development. Sean McGilvray Execitve Director Identity Theft Specialist Pre-Paid Legal Service's, Inc. NYSE:PPD Phone: 760-486-1019 [email protected] http://www.transferhome.net 2009/3/25 Maurício Linhares <[email protected]> > > It isn't deprecated, it just not always set, as in the dev > environment, for example. > > - > Maurício Linhares > http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) > > On Wed, Mar 25, 2009 at 7:19 PM, Sean McGilvray <[email protected]> > wrote: > > I figured out why this was happening. > > > > I switched to RAILS_ENV='production' > > > > ENV["RAILS_ENV"] has been deprecated. > > > > I did not know that ENV["RAILS_ENV"] has been deprecated. > > > > > > Thanks for the help. > > > > Sean McGilvray > > Executive Director > > Identity Theft Specialist > > Pre-Paid Legal Service's, Inc. NYSE:PPD > > Phone: 760-486-1019 > > [email protected] > > http://www.transferhome.net > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

