aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/initializer.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/initializer.rb b/railties/lib/initializer.rb
index f942e97694..5e1e38e33d 100644
--- a/railties/lib/initializer.rb
+++ b/railties/lib/initializer.rb
@@ -1,8 +1,6 @@
require 'logger'
-old_verbose, $VERBOSE = $VERBOSE, nil
-RAILS_ENV = ENV['RAILS_ENV'] || 'development'
-$VERBOSE = old_verbose
+RAILS_ENV = ENV['RAILS_ENV'] || 'development' unless defined?(RAILS_ENV)
module Rails
# The Initializer is responsible for processing the Rails configuration, such as setting the $LOAD_PATH, requiring the