Ruby on Rails Running on a server


Example

If running on a remote server that is using Passenger change apache.conf to to the environment you want to use. For example this case you see RailsEnv production.

<VirtualHost *:80>
  ServerName application_name.rails.local
  DocumentRoot "/Users/rails/application_name/public"
  RailsEnv production ## This is the default
</VirtualHost>