I'm creating a rails 3.1 engine with migrations. rake db:migration works fine inside that engine, and inside host app. But I need to include this engine into another rails engine. The second engine contains dummy app for testing, I added to application.rb of that dummy app this line:
Don't know how to build task 'railties:install:migrations'
Tasks: TOP => app:my_engine_engine:install:migrations
(See full trace by running task with --trace)
Well, I'm find solution to my problem. I just needed to switch to my test app directory and to run there:
and it works as it should.