Do not add gears to autoreload in development, autoload paths in carto_gears_api already does this

pull/12019/head
Javier Torres 8 years ago
parent 091506720f
commit ae2a4faf2b

@ -6,9 +6,6 @@ CartoDB::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
ActiveSupport::Dependencies.autoload_paths << File::join(Rails.root, 'lib')
Carto::CartoGearsSupport.new.gears.each do |gear|
ActiveSupport::Dependencies.autoload_paths << File::join(gear.full_path, 'lib')
end
# ActiveSupport::Dependencies.autoload_paths << File::join( Rails.root, 'lib/central')
# The production environment is meant for finished, "live" apps.

Loading…
Cancel
Save