Forum: Rails Engines db:migrate:engines task missing (svn externals install)

Posted by Steve Koppelman (hatless)
on 2006-04-23 04:34
On my main development machine I have several apps. One uses a fixed 
version of engines installed via script\plugin and explicitly runs under 
Rails 1.0 in environment.rb. User and Login engines run fine.

For a new app, I installed the Rails 1.1.2 gems and decided to do things 
"right" with svn:externals props pulling in Engines and Login and 
UserEngines. When I ran svn update, it seemed to pull down all three, 
but my SVN log reported as though it pulled in the Engines plugin 3 
times, not three diferent components.

Running rake db:migrate:engines returns a no-such-task error. A look at 
rake -T shows most of the old un-namespaced Engines tasks, but not 
engines_migrate, while all the Rails tasks are namespaced.

I've tried via svn:externals both the trunk versions and the 
tags/rel_1.0.1 versions and had the same result.

If this doesn't ring a bell, I'll also provide some SVN log output, a 
listing of the resulting vendor/plugins directory and the output of rake 
-T for extra bonus troubleshooting fun.
Posted by Steve Koppelman (hatless)
on 2006-04-24 16:55
Just some additional info: I tried setting my svn externals property to 
fetch the Engines plugin 1.1.1 and the 1.0.1 Login and User engines. 
Again, a sensible-looking set of files gets fetched into vendor/plugins 
but I still have no db:migrate:engines task, nor an engines_migrate 
task.

rake -T returns namespaced tasks for Rails and non-namespaced tasks for 
the engines, and as I said, neither of the engine migration tasks.. just 
things like bootstrap and those schema import tasks. I'm leery of trying 
the latter because I'm worried I'll run into other very broken things as 
I proceed.

Steve Koppelman wrote:
> On my main development machine I have several apps. One uses a fixed 
> version of engines installed via script\plugin and explicitly runs under 
> Rails 1.0 in environment.rb. User and Login engines run fine.
> 
> For a new app, I installed the Rails 1.1.2 gems and decided to do things 
> "right" with svn:externals props pulling in Engines and Login and 
> UserEngines. When I ran svn update, it seemed to pull down all three, 
> but my SVN log reported as though it pulled in the Engines plugin 3 
> times, not three diferent components.
> 
> Running rake db:migrate:engines returns a no-such-task error. A look at 
> rake -T shows most of the old un-namespaced Engines tasks, but not 
> engines_migrate, while all the Rails tasks are namespaced.
> 
> I've tried via svn:externals both the trunk versions and the 
> tags/rel_1.0.1 versions and had the same result.
> 
> If this doesn't ring a bell, I'll also provide some SVN log output, a 
> listing of the resulting vendor/plugins directory and the output of rake 
> -T for extra bonus troubleshooting fun.
Posted by Jason Tahaney (Guest)
on 2007-04-04 22:40
Was this question ever answered?  Experiencing same issue, latest
version of ENGINES plugin installed successfully yet rake -T output does
not show db:migrate:engines as an available task.

Steve Koppelman wrote:
> Just some additional info: I tried setting my svn externals property to 
> fetch the Engines plugin 1.1.1 and the 1.0.1 Login and User engines. 
> Again, a sensible-looking set of files gets fetched into vendor/plugins 
> but I still have no db:migrate:engines task, nor an engines_migrate 
> task.
> 
> rake -T returns namespaced tasks for Rails and non-namespaced tasks for 
> the engines, and as I said, neither of the engine migration tasks.. just 
> things like bootstrap and those schema import tasks. I'm leery of trying 
> the latter because I'm worried I'll run into other very broken things as 
> I proceed.
of rake
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.