Forum: Rails Engines Don't know how to build task 'engine_migrate'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D10ca8d11301c2f4993ac2279ce4b930?d=identicon&s=25 AT (Guest)
on 2006-03-30 23:07
I get the following error when trying to install riki.

>rake engine_migrate ENGINE=riki

rake aborted!
Don't know how to build task 'engine_migrate'

Anyone know what causes this. I had the same issue with the login engine
so I manually updated the db.
2d6180b74022589155f0a3635e20a8b7?d=identicon&s=25 Chad Westfall (Guest)
on 2006-03-30 23:16
(Received via mailing list)
The reason is in Rails 1.1 all the rake tasks have changed.  Try rake
db:migrate:engines ENGINE=riki.  Also "rake -T" is helpful command.
-Chad
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-03-30 23:25
(Received via mailing list)
The syntax for the rake tasks has changed - please check the engines
README or mailing list archives.

- james

On 3/30/06, AT <a@a.com> wrote:
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> engine-users mailing list
> engine-users@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
37c332966b49eeb1d54eeefd3bc5ce97?d=identicon&s=25 David Corbin (Guest)
on 2006-03-31 13:31
(Received via mailing list)
Seems to me a saw that 'existing' rake tasks would be recognized with or
without the namespace...
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-03-31 13:43
(Received via mailing list)
The 'old' rake tasks simply don't exist anymore - they needed to be
rewritten, and as part of the rewrite I adopted the new rake namespace
syntax.

- james

On 3/31/06, David Corbin <dcorbin@machturtle.com> wrote:
> > On 3/30/06, AT <a@a.com> wrote:
> > > --
> > _______________________________________________
> > engine-users mailing list
> > engine-users@lists.rails-engines.org
> > http://lists.rails-engines.org/listinfo.cgi/engine...
> _______________________________________________
> engine-users mailing list
> engine-users@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...
>


--
* J *
  ~
Dd521b7911352127217de208e0a86f4f?d=identicon&s=25 Devender Gollapally (devender)
on 2006-04-12 19:53
Thank you, it works !!

Chad Westfall wrote:
> The reason is in Rails 1.1 all the rake tasks have changed.  Try rake
> db:migrate:engines ENGINE=riki.  Also "rake -T" is helpful command.
> -Chad
92320f8481d475581e59c891618cad38?d=identicon&s=25 Guest (Guest)
on 2006-05-07 07:34
James Adam wrote:
> The 'old' rake tasks simply don't exist anymore - they needed to be
> rewritten, and as part of the rewrite I adopted the new rake namespace
> syntax.
>
> - james

Please update the tutorials.  I have spent hours trying to guess at how
to get this to work.  A complete waste of time. Even after getting rake
to work it is still not working I get a routing erro  Recognition failed
for "/login"
E5f13f139cceb7b62d28ff180a01bbca?d=identicon&s=25 freekyfashions (Guest)
on 2006-07-24 07:27
Guest wrote:
> James Adam wrote:
>> The 'old' rake tasks simply don't exist anymore - they needed to be
>> rewritten, and as part of the rewrite I adopted the new rake namespace
>> syntax.
>>
>> - james
>
> Please update the tutorials.  I have spent hours trying to guess at how
> to get this to work.  A complete waste of time. Even after getting rake
> to work it is still not working I get a routing erro  Recognition failed
> for "/login"

Hey there....

      The best way to find out the rake command for migration script
execution is type 'Rake -T' and check out the options listed out.
      I tried with the following command 'Rake migrate' and it worked
for me.
      'Rake db:migrate' and 'db:migrate:engines ENGINE=riki' failed
miserably.

thnx
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-07-24 11:06
(Received via mailing list)
On 7/24/06, freekyfashions <freekyfashions@yahoo.com> wrote:
>       'Rake db:migrate' and 'db:migrate:engines ENGINE=riki' failed
> miserably.

What errors did you get?
E5f13f139cceb7b62d28ff180a01bbca?d=identicon&s=25 freekyfashions (Guest)
on 2006-07-27 01:42
James Adam wrote:
> On 7/24/06, freekyfashions <freekyfashions@yahoo.com> wrote:
>>       'Rake db:migrate' and 'db:migrate:engines ENGINE=riki' failed
>> miserably.
>
> What errors did you get?

Hi,
   I've updated the rails version to 1.1 version and db:migrate is
working fine.

   but ''db:migrate:engines ENGINE=riki'' still gives error:

------------------------------------------------
rake aborted!
Don't know how to build task 'db:migrate:engines'
-------------------------------------------------

   any clue.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-07-27 11:31
(Received via mailing list)
Do you see the 'db:migrate:engines' task when you run 'rake -T' ? If
not, are you sure you've got the latest version of the engines plugin,
from http://svn.rails-engines.org/plugins/engines?

- james
E5f13f139cceb7b62d28ff180a01bbca?d=identicon&s=25 freekyfashions (Guest)
on 2006-07-28 02:22
James Adam wrote:
> Do you see the 'db:migrate:engines' task when you run 'rake -T' ? If
> not, are you sure you've got the latest version of the engines plugin,
> from http://svn.rails-engines.org/plugins/engines?
>
> - james

Hi,
    I checked the tasks,I got only db:migrate.
    Thanks for your info.

Cheers
C3c27c4db8dc88502f1002a348c12c84?d=identicon&s=25 Marc (Guest)
on 2007-05-09 22:46
I have the same problem:

rake db:migrate:engines ENGINE=login_engine
keeps giving me this error: "Don't know how to build task
'db:migrate:engines'"
I did a --trace, but that didn't help.
I have the 1.2 version from engines plugin.

Any help greatly appreciated, i'm kinda stuck atm.
This topic is locked and can not be replied to.