OK, I’m trying to set up my first use of login and user engine
application. Environment is on OS X.
When I run
rake engine_migrate ENGINE=login
I get:
The db/migrate directory for engine ‘login_engine’ appears to be
missing
However, I can see
vendor/plugins/login_engine/db/migrate/001_initial_schema.rb and I think
I have followed all the instructions.
Umm, what did I miss?
Thanks in advance, Jonathan
Hi,
this is a problem in the following file:
…vendor/plugins/engines/tasks/engine.rake
around line #22
Please remove 'RAILS_ROOT, ’ from the following line and try again.
migration_directory = File.join(RAILS_ROOT, engine.root, ‘db’,
‘migrate’)
Kind regards,
Manuel
----- Nachricht von [email protected] ---------
Datum: Fri, 27 Jan 2006 19:55:52 +0100
Von: Jonathan W. [email protected]
Antwort an: [email protected]
Betreff: [Engine-users] Newbie question: rake engine_migrate
ENGINE=login
An: [email protected]
vendor/plugins/login_engine/db/migrate/001_initial_schema.rb and I think
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
----- Ende der Nachricht von [email protected] -----
Manuel,
Thanks for posting this info. It saved me a lot of hunting and
pecking. I saw the same behaviour on Windows.
-MLA
Manuel wrote:
Hi,
this is a problem in the following file:
…vendor/plugins/engines/tasks/engine.rake
around line #22
Please remove 'RAILS_ROOT, ’ from the following line and try again.
migration_directory = File.join(RAILS_ROOT, engine.root, ‘db’,
‘migrate’)
Kind regards,
Manuel
----- Nachricht von [email protected] ---------
Datum: Fri, 27 Jan 2006 19:55:52 +0100
Von: Jonathan W. [email protected]
Antwort an: [email protected]
Betreff: [Engine-users] Newbie question: rake engine_migrate
ENGINE=login
An: [email protected]
vendor/plugins/login_engine/db/migrate/001_initial_schema.rb and I think
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
----- Ende der Nachricht von [email protected] -----
Manuel
Thank you very much. In fact I tried again before applying your
suggested change and the problem had gone.
The difference is that I’m now running in a Locomotive environment
(rather that the home generated one I had when the problem occurred).
So I’m sorry to have taken up bandwidth on this forum, but I guess it
goes to show the value of Locomotive.
Once again thanks, Jonathan
This fix was included in the latest Engines plugin release (1.0.6)
On 1/31/06, Michael A. [email protected] wrote:
this is a problem in the following file:
Antwort an: [email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
–