Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit a3b0de5d29e90648b79c0c48c3f344838752eb5f 1 parent c2eb22e
@dhh dhh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/environments/environment.rb
View
4 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')
Please sign in to comment.
Something went wrong with that request. Please try again.