script/rails in brightcontent-attachments-2.0.33 vs script/rails in brightcontent-attachments-2.1.0
- old
+ new
@@ -1,8 +1,8 @@
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
-ENGINE_ROOT = File.expand_path('../..', __FILE__)
-ENGINE_PATH = File.expand_path('../../lib/brightcontent/assets/engine', __FILE__)
+ENGINE_ROOT = File.expand_path('../../../core', __FILE__)
+ENGINE_PATH = File.expand_path('../../../core/lib/brightcontent/engine', __FILE__)
require 'rails/all'
require 'rails/engine/commands'