I uncommented this line in config/environment.rb: ENV[''RAILS_ENV''] ||= ''production'' I switched the WEBrick server to production in Aptana RadRails. And still, when I click on the "About..." link, I get the following error: Routing Error no route found to match "/rails/info/properties" with {:method=>:get} It happens also with Phusion Passenger. What am I doing wrong? It seems not to work right. I''m using Aptana Studio 1.1 with RadRails 1.0 and Rails 1.2. Later... The Neurochild --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 27 Oct 2008, at 21:00, The Neurochild wrote:> > I uncommented this line in config/environment.rb: > > ENV[''RAILS_ENV''] ||= ''production'' > > I switched the WEBrick server to production in Aptana RadRails. And > still, when I click on the "About..." link, I get the following error: > > Routing Error > > no route found to match "/rails/info/properties" with {:method=>:get} > > It happens also with Phusion Passenger. What am I doing wrong? It > seems not to work right.That''s normal. The /rails/info stuff isn''t available in production mode. Fred> > > I''m using Aptana Studio 1.1 with RadRails 1.0 and Rails 1.2. > > Later... > > The Neurochild > >--~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank God! I thought it was a bug. Thanks, man! --~--~---------~--~----~------------~-------~--~----~ 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 For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---