Commit 6e57b246 authored by Piotr Skorupa's avatar Piotr Skorupa

Remove development env conditional on generator autoload

parent 7fd59b89
......@@ -84,7 +84,7 @@ module Gitlab
# Rake tasks ignore the eager loading settings, so we need to set the
# autoload paths explicitly
config.autoload_paths = config.eager_load_paths.dup
config.autoload_paths.push("#{config.root}/lib/generators") if Rails.env.development?
config.autoload_paths.push("#{config.root}/lib/generators")
# Only load the plugins named here, in the order given (default is alphabetical).
# :all can be used as a placeholder for all plugins not explicitly named.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment