diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-07 18:36:54 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-11-07 18:36:54 +0000 |
commit | a3b0de5d29e90648b79c0c48c3f344838752eb5f (patch) | |
tree | ac4d7791830eaa09cf3d1ec97b34bbfa5ecb3726 | |
parent | c2eb22e5c69caba0f9eeb5b95558837d0d572f44 (diff) | |
download | rails-a3b0de5d29e90648b79c0c48c3f344838752eb5f.tar.gz rails-a3b0de5d29e90648b79c0c48c3f344838752eb5f.tar.bz2 rails-a3b0de5d29e90648b79c0c48c3f344838752eb5f.zip |
Added in bars to help guard against the production environment being used in test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | railties/environments/environment.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb index ee6edb1dbb..1ead71b75c 100644 --- a/railties/environments/environment.rb +++ b/railties/environments/environment.rb @@ -1,8 +1,8 @@ -# Be sure to restart your webserver when you modify this file. +# Be sure to restart your web server when you modify this file. # Uncomment below to force Rails into production mode # (Use only when you can't set environment variables through your web/app server) -# ENV['RAILS_ENV'] = 'production' +# ENV['RAILS_ENV'] ||= 'production' # Bootstrap the Rails environment, frameworks, and default configuration require File.join(File.dirname(__FILE__), 'boot') |