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