-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RAILS_ENV in config/environment.rb is not respected #107
Comments
From honglilai on April 12, 2008 00:53:29 Thanks for the report. We'll take a closer look at this after the weekend. Cc: honglilai |
From honglilai on April 23, 2008 04:04:31 Status: Fixed |
From honglilai on April 23, 2008 04:05:54 This problem should be fixed in the development version (git repository) now. Could |
From jaramillo.joseph on April 23, 2008 16:31:43 I just pulled it down and installed... still no dice. Are there any particular logs |
From honglilai on April 24, 2008 01:30:51 What do you have in your environment.rb? It should be ENV['RAILS_ENV'] = 'development' instead of the default ENV['RAILS_ENV'] ||= 'development' |
From jaramillo.joseph on April 24, 2008 09:44:17 It's set correctly, but still isn't working. I've restarted httpd and touched |
From honglilai on April 24, 2008 09:59:22 Which Rails version are you using? Status: Started |
From honglilai on April 24, 2008 10:57:25 I've just tested with Apache 2.0.55 and Apache 2.2.4, with both Rails 2.0.2 and |
From jaramillo.joseph on April 24, 2008 12:41:49 Very strange. What else can we do? This isn't working on any of the boxes I've |
From honglilai on April 24, 2008 14:39:15 Are you sure you've installed the development version correctly? After running 'git |
From honglilai on April 28, 2008 11:42:15 'xipher1' on IRC confirms that this bug has been fixed. Status: Fixed |
From jaramillo.joseph on April 12, 2008 00:15:15
What steps will reproduce the problem? 1. Install Passenger
2. Configure a virtualhost for a Rails app
3. Set the RailsEnv directive to production
4. Set the RAILS_ENV in config/environment.rb to 'development'
5. Load a path that does not exist ( http://myapp.com/does-not-exist ) What is the expected output? What do you see instead? Expected: Rails backtrace for NoMethodError
Instead: Default Rails 404 page. What version of the product are you using? On what operating system? 1.0.1 on Centos 4.5 w/ Apache 2.0
Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=6
The text was updated successfully, but these errors were encountered: