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
on 2007-08-01 16:22
on 2007-08-01 16:28
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...
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
Log in with Google account | Log in with Yahoo account
No account? Register here.