Plugins shouldn't load the environment as this creates circular dependencies.
This commit is contained in:
parent
7484b6da27
commit
dc82528e8b
|
@ -1,4 +1,8 @@
|
|||
begin
|
||||
require File.join(RAILS_ROOT, 'config', 'environment')
|
||||
rescue Exception
|
||||
puts "Could not load environment. Existing environment load"
|
||||
end
|
||||
require File.join(File.dirname(__FILE__), '..', 'lib', 'javascript_routes')
|
||||
require File.join(File.dirname(__FILE__), '..', 'bin', 'jsmin')
|
||||
|
||||
|
|
Loading…
Reference in a new issue