rails/rails — pull request #5821 by Deradon (2012-04-12 14:55:49+00:00)
Title: Provided fix for calling rake tasks within mountable engines

Following issue: Lets look at creating mountable Engine (Also discussed here: #2594)

rails plugin new foobar --mountable
cd foobar
rails g model foo bar:string
rake app:foobar:install:migrations

The last command will fail with: `Don't know how to build task 'railties:install:migrations'`

So I might provide a possible fix here.
There might be cooler solutions here, but I'm not familiar with the `Rails::Engine`.
I'm also not that familiar with this TestFramework, so please have a look.