> Are you sure your server is actually running in the production
> environment (RAILS_ENV=production)?


I am not sure.

But on server, in:
/etc/httpd/conf/rails.conf file

I have:

<VirtualHost *:80>
  DocumentRoot /var/www/apps/human/public
  <Directory /var/www/apps/human/public>
  allow from all
  Options +Indexes
  </Directory>
  ServerName www.humandiet.net
  RailsEnv production
</VirtualHost>

So this appears to be default by passenger.

In config/environment.rb I have this:
ENV['RAILS_ENV'] ||= 'production'

And my server has been restarted hundreds of times since those changes 
were made.

Thanks for response.

-- 
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