From a532b14da805007a9aa02c2fd8b2c544cf4498ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Bucho=CC=88ster?= Date: Sun, 10 Jul 2011 11:01:58 +0200 Subject: [PATCH] added 'lib' directory to autoload_once_paths in production environment --- config/environments/production.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/environments/production.rb b/config/environments/production.rb index 9804e70..bed7f83 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,5 +1,6 @@ Nineminutes::Application.configure do # Settings specified here will take precedence over those in config/application.rb + config.autoload_once_paths += %W(#{config.root}/lib) # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests