From 860fc1479e78a799239a384e73957781caff0b01 Mon Sep 17 00:00:00 2001 From: Wojciech Todryk Date: Sat, 18 Jun 2011 19:24:50 +0200 Subject: [PATCH] return to rails 2.3.3 --- config/environment.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/environment.rb b/config/environment.rb index f134880..1df597d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,7 +2,8 @@ # 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' #RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION @@ -14,8 +15,8 @@ Rails::Initializer.run do |config| # config.frameworks -= [ :action_web_service, :action_mailer ] # Add additional load paths for your own custom dirs - config.autoload_paths += %W( #{RAILS_ROOT}/vendor/ezcrypto-0.1.1/lib ) - config.autoload_paths += %W( #{RAILS_ROOT}/lib/webmail ) + config.load_paths += %W( #{RAILS_ROOT}/vendor/ezcrypto-0.1.1/lib ) + config.load_paths += %W( #{RAILS_ROOT}/lib/webmail ) # Force all environments to use the same logger level # (by default production uses :info, the others :debug) # config.log_level = :debug