Skip to content

Instantly share code, notes, and snippets.

@plentz
Created March 15, 2012 04:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save plentz/2041796 to your computer and use it in GitHub Desktop.
Save plentz/2041796 to your computer and use it in GitHub Desktop.
...
if Rails.env.a_fortune_one_company?
# required for threadsafe!. it have different behaviors when added here and when it's added to the env file
config.eager_load_paths += Dir["#{config.root}/app/**/"]
config.eager_load_paths += Dir["#{config.root}/lib/**/"]
end
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment