rails/rails — Issue #4894: Mountable Engines Rails File
Author: monaDeveloper
Created: 2012-02-05 17:23:24+00:00
State: open

This is the rails file generated for me:
ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/myeng/engine', __FILE__)

require 'rails/all'
require 'rails/engine/commands'

so whenever I run ./script/rails command it didn't run until I replaced
require 'rails/all'
require 'rails/engine/commands'
with
load File.expand_path('../../test/dummy/script/rails', __FILE__)