Forum: Ruby on Rails Problems with Login Engine/rake

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.
11b6743c4757de4816faa01bb3d5c6ae?d=identicon&s=25 Ryan Mulligan (Guest)
on 2006-04-08 17:19
(Received via mailing list)
Hello,

I have been having problems installing the Login Engine.

I follow all the steps found on the download site (rails-engines.org),
but when I get to the DB_SCHEMA step, I do

 rake engine_migrate ENGINE=login in the application root.

"""

C:\rails\cag> rake engine_migrate ENGINE=login
(in C:/rails/cag)
rake aborted!
Don't know how to build task 'engine_migrate'

(See full trace by running task with --trace)

C:\rails\cag> rake engine_migrate ENGINE=login --trace
(in C:/rails/cag)
rake aborted!
Don't know how to build task 'engine_migrate'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1449:in `[]'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:455:in `[]'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
c:/ruby/bin/rake.bat:25

"""

I tried doing rake db_schema_import, as well, but it only included the
migrations I had defined for my project and not the login_engine's
migrations.

Any help would be greatly appreciated.

Regards,
Ryan Mulligan
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-04-08 19:37
(Received via mailing list)
As of version 1.1, the engines plugin now uses the new namespacing for
rake tasks that you find in Rails 1.1. Make sure you've got Rake 0.7
or greater, and run rake -T to see the available tasks.

The one you're looking for is now called:

  rake db:migrate:engines

Documentation for the other available engines should be updated at the
next upcoming release.

- james

On 4/8/06, Ryan Mulligan <rmulliga@uiuc.edu> wrote:
>
> Don't know how to build task 'engine_migrate'
> migrations I had defined for my project and not the login_engine's
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
* J *
  ~
This topic is locked and can not be replied to.