Looks like there's an issue with the latest rake released yesterday and Rails 3. http://stackoverflow.com/questions/5287121/undefined-method-task-using-rake-0-9-0-beta-4 Another solution would be to pin rake to 0.8.7 in your Gemfile. On Saturday, May 21, 2011 at 10:39 AM, Nikue wrote: I haven't changed anything except add a few migrations. I removed > those but it didn't solve the problem, obviously. Is it possible > heroku automatically upgraded rake this week? Not sure what version I > was using before. Could I just specify an older one in my gemfile? > Only rails and custom ones are in there now. > > Thanks, > Nikue > > On May 21, 10:30 am, Nikue <nik...@gmail.com> wrote: > > Hey guys, > > > > heroku rake getting aborted with this trace: > > > > $ heroku rake db:migrate --trace > > rake aborted! > > undefined method `task' for #<Freelance::Application:0x7fca8218f160> > > /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/ > > application.rb:215:in ` > > initialize_tasks' > > /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/ > > application.rb:139:in ` > > load_tasks' > > /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/ > > application.rb:77:in `s > > end' > > /app/.bundle/gems/ruby/1.8/gems/railties-3.0.7/lib/rails/ > > application.rb:77:in `m > > ethod_missing' > > /app/Rakefile:7 > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/rake_module.rb: > > 25:in `load' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/rake_module.rb: > > 25:in `load_r > > akefile' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 495:in `raw_l > > oad_rakefile' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 78:in `load_r > > akefile' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 129:in `stand > > ard_exception_handling' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 77:in `load_r > > akefile' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 61:in `run' > > /app/.bundle/gems/ruby/1.8/gems/rake-0.9.0/lib/rake/application.rb: > > 129:in `stand > > ard_exception_handling' > > > > any ideas? > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.