How do I ensure production performance under Hosting Configuration 2.0?
NOTE: This article only applies to Deluxe and Premium hosting accounts running Hosting Configuration 2.0. Ruby on Rails is not supported for Java-enabled hosting accounts.
SetENV is a function that specifies the environment (development, test, or production) in which your Ruby on Rails applications run. By default, your applications are configured to run in the production environment. We recommend this mode because of the performance advantages and minimal logging.
To override this setting and run your application in development or test modes, add the following code to your application's config/environment.rb file, replacing "[environment]" with values "development" or "test":