Browse files

fix rails command line. Now issue command to the engine and not dummy…

… app
  • Loading branch information...
1 parent 17ad22e commit 568ad41a578476e52637a7c62a62e500e47b7692 Jean-Philippe Boily committed Sep 27, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 script/rails
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
-#!/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_PATH = File.expand_path('../..', __FILE__)
-load File.expand_path('../../spec/dummy/script/rails', __FILE__)
+ENGINE_ROOT = File.expand_path('../..', __FILE__)
+ENGINE_PATH = File.expand_path('../../lib/monologue/engine', __FILE__)
+# load File.expand_path('../../spec/dummy/script/rails', __FILE__)
+require 'rails/all'
+require 'rails/engine/commands'

0 comments on commit 568ad41

Please sign in to comment.