Kristian
2010-Feb-25 19:39 UTC
Rails problems running rake and other tasks - undefined method `action_controller''
I suddenly have a major problem in all my Rails 3 apps: $ rake db:migrate --trace rake aborted! Don''t know how to build task ''db:migrate'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:1728:in `[]'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2050:in `invoke_task'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2029:in `block (2 levels) in top_level'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2029:in `each'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2029:in `block in top_level'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2068:in `standard_exception_handling'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2023:in `top_level'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2001:in `block in run'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:2068:in `standard_exception_handling'' /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/ rake.rb:1998:in `run'' /Users/kristianconsult/.rvm/rubies/ruby-1.9.1-p378/bin/rake:36:in `<main>'' $ rake --trace ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke test:functionals (first_time) ** Invoke test:integration (first_time) Errors running test:units, test:functionals, test:integration! $ bundle exec cucumber undefined method `action_controller'' for #<Rails::Application::Configuration:0x00000102d3b470> (NoMethodError) /Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/bundler/gems/ rails-16a5e918a06649ffac24fd5873b875daf66212ad-master/railties/lib/ rails/configuration.rb:74:in `method_missing'' /Users/kristianconsult/Development/Languages/Ruby/Apps/playground/ Rails3_apps/railsblog_cucumber_capybara/config/environments/test.rb: 15:in `block in <top (required)>'' /Users/kristianconsult/Development/Languages/Ruby/Apps/playground/ Rails3_apps/railsblog_cucumber_capybara/config/environments/test.rb: 1:in `class_eval'' /Users/kristianconsult/Development/Languages/Ruby/Apps/playground/ Rails3_apps/railsblog_cucumber_capybara/config/environments/test.rb: 1:in `<top (required)>'' Any ideas out there? I uninstalled bundler 0.9.8 coz it seemed to be broken? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Seemingly Similar Threads
- Rails 3 Problem: no such file to load -- rails (LoadError)
- wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
- CRITICAL: Rails 3 error : parser.bundle unhandled exception!!!
- Upgrading to Rails 3.1
- More detailed Test::Unit error report