Passenger 3.0.0 ignored RailsEnv

11 views
Skip to first unread message

Simone Carletti

unread,
Oct 26, 2010, 7:48:21 AM10/26/10
to Phusion Passenger Discussions
I upgraded from Passenger 2.x to Passenger 3.0.0 and now Passenger
seems to ignore the RailsEnv directive.
My staging application is now running the production environment.

Here's the configuration


<VirtualHost *:80>

ServerAdmin webmaster@...
ServerName staging.....com

DocumentRoot /var/.../staging/public

ErrorLog /var/.../error.log
CustomLog /var/.../access.log combined

RailsEnv staging

<Location "/">
AuthName "Private Area"
AuthType Basic
AuthUserFile /var/.../.htpasswd
Require valid-user
</Location>

</VirtualHost>

Simone Carletti

unread,
Oct 26, 2010, 7:51:53 AM10/26/10
to Phusion Passenger Discussions
Nevermind, I just read this thread.
http://groups.google.com/group/phusion-passenger/browse_thread/thread/ddb9dbbad0bfe679/913c10ac9bfd1d22?lnk=gst&q=railsenv#913c10ac9bfd1d22

I would suggest to update the documentation.
http://www.modrails.com/documentation/Users%20guide%20Apache.html#rails_env
It should state the RailsEnv is now about Rails 2.

-- Simone
Reply all
Reply to author
Forward
0 new messages