Forum: Rails Engines Rails engine migration not loading Rails Engine?

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.
Ron Evans (Guest)
on 2007-08-01 18:22
(Received via mailing list)
I am trying to run a Rails Engine migration, however, the rake task is
acting like the Rails Engine plugin has not been loaded. Is there some
include that is missing from the Rails Engine plugin install, or that I
should have known to put in myself?

Here is the trace from my rake task:

ron-evans-computer:~/Desktop/grownups ron$ rake db:migrate --trace
(in /Users/ron/Desktop/grownups)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== SavageBeastToVersion49: migrating
==========================================
rake aborted!
undefined method `plugins' for GetText::Rails:Module
./db/migrate//018_savage_beast_to_version_49.rb:3:in `real_up'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:212:in `send'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:212:in `migrate'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/1.8/benchmark.rb:293:in
`measure'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:212:in `migrate'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:335:in `migrate'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:330:in `each'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:330:in `migrate'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:297:in `up'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-
1.15.3/lib/active_record/migration.rb:288:in `migrate'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rails-
1.2.3/lib/tasks/databases.rake:4
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:399:in `call'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:399:in `execute'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:399:in `each'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:399:in `execute'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:369:in `invoke'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:362:in `synchronize'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:362:in `invoke'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:1935:in `run'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:1935:in `each'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/lib/rake.rb:1935:in `run'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/lib/ruby/gems/1.8/gems/rake-
0.7.2/bin/rake:7
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/rake:16:in
`load'
/Applications/Locomotive2/Bundles/rmagickRailsMar2007_i386.locobundle/framework/bin/rake:16
James A. (Guest)
on 2007-08-01 18:28
(Received via mailing list)
At a guess, it looks like some reference to Rails.plugins is actually
hitting the GetText::Rails constant, rather than the ::Rails constant.
You might try looking for that...
This topic is locked and can not be replied to.