I created a migration. I am trying to run it by:
rake db:migrate:up VERSION=
It raises the following error:
D, [2018-06-03T13:20:41.295098 #2257] DEBUG -- : ** [Raven] Sending event 2a32cb0c249acd2efde26ce6453a2d77 to Sentry
D, [2018-06-03T13:20:41.343397 #2257] DEBUG -- : ** [Raven] Raven HTTP Transport connecting to https://app.getsentry.com
rake aborted!
NoMethodError: undefined method `last_comment' for #<Rake::Application:0x007fb71d8a76a0>
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/rake_task.rb:101:in `define'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-core-3.0.4/lib/rspec/core/rake_task.rb:78:in `initialize'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-rails-3.0.2/lib/rspec/rails/tasks/rspec.rake:11:in `new'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-rails-3.0.2/lib/rspec/rails/tasks/rspec.rake:11:in `<top (required)>'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `block in load'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in `load_dependency'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in `load'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rspec-rails-3.0.2/lib/rspec-rails.rb:13:in `block in <class:Railtie>'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:237:in `instance_exec'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:237:in `block in run_tasks_blocks'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:245:in `each'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:245:in `each_registered_block'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/railtie.rb:237:in `run_tasks_blocks'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/application.rb:437:in `block in run_tasks_blocks'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/engine/railties.rb:13:in `each'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/engine/railties.rb:13:in `each'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/application.rb:437:in `run_tasks_blocks'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/railties-4.2.0/lib/rails/engine.rb:453:in `load_tasks'
/Rakefile:6:in `<top (required)>'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:82:in `block in run'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/lib/rake/application.rb:80:in `run'
/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/.rbenv/versions/2.1.2/bin/rake:23:in `load'
/.rbenv/versions/2.1.2/bin/rake:23:in `<main>'
How can I deal with it?
Specify version when migrating. This is good is you want to migrate only specific version of your migration. If you want to migrate all pending migration you can just say rake db:migrate.
Example:
rake db:migrate:up VERSION=20120820165642
I had to run the command against local rails
rake db:migrate:up VERSION=20120820165642 RAILS_ENV=test
works for me
Related
I am getting following error while running command
bundle exec rake db:migrate --trace
I am using rvm and ruby version is 2.3.1.
Here is output
deploy#localhost:~/my-sources$ bundle exec rake db:migrate
--trace rake aborted! LoadError: cannot load such file -- /home/deploy/myapp/config/application
/home/deploy/myapp-sources/Rakefile:4:in `require'
/home/deploy/myapp-sources/Rakefile:4:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /usr/local/rvm/rubies/ruby-2.3.1/bin/rake:23:in
`load' /usr/local/rvm/rubies/ruby-2.3.1/bin/rake:23:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `load'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `kernel_load'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:28:in `run'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:463:in `exec'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:27:in `dispatch'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:18:in `start'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/exe/bundle:30:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/exe/bundle:22:in `<top (required)>' /usr/local/rvm/gems/ruby-2.3.1/bin/bundle:23:in `load' /usr/local/rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in
`<main>'
Getting this error while running RAKE command :-
rake --trace
rake aborted!
There was an error while trying to load the gem 'coffee-rails'.
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:81:in rescue in block (2 levels) in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'
/apps/apache/Sekhmet/user/config/application.rb:7:in `<top (required)>'
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
/apps/apache/Sekhmet/user/Rakefile:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:93:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:77:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p194/bin/rake:22:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p194/bin/rake:22:in `<main>'
Following is my Rake File:-
require File.expand_path('../config/application', FILE)
MyAppName::Application.load_tasks
Please Help!
Do this
gem install coffee-rails
Then restart server and run rake command
I'm getting this weird error when I try to migrate my database. Does anyone know what's going on?
There are no require debugger calls in any of my migrations. I do have some in another rake task that's not a migration, though. Is it possible that that's the problem?
me$ heroku run rake db:migrate --trace
Running `rake db:migrate --trace` attached to terminal... up, run.2463
rake aborted!
cannot load such file -- debugger
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/app/lib/tasks/misc.rake:6:in `<top (required)>'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/app/vendor/bundle/ruby/2.1.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/engine.rb:641:in `block in run_tasks_blocks'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/engine.rb:641:in `each'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/engine.rb:641:in `run_tasks_blocks'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/application.rb:244:in `run_tasks_blocks'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/engine.rb:446:in `load_tasks'
/app/vendor/bundle/ruby/2.1.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/app/Rakefile:6:in `<top (required)>'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/rake_module.rb:25:in `load'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/rake_module.rb:25:in `load_rakefile'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:637:in `raw_load_rakefile'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:94:in `block in load_rakefile'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:93:in `load_rakefile'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:77:in `block in run'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:165:in `standard_exception_handling'
/app/vendor/ruby-2.1.0/lib/ruby/2.1.0/rake/application.rb:75:in `run'
/app/bin/rake:4:in `<main>'
Ah, ok. Figured it out. One my other rake tasks had require debugger in its root scope. That's what was throwing heroku off. Problem solved.
Rake is failing to run after an upgrade to Rails 4 and it was running fine before I upgraded my gems. I am on Ruby 1.9.3. For some reason rdoc doesn't recognize the markup attribute, but I can't find anything about it getting removed or renamed.
This is the error message I am getting.
undefined method `markup=' for #<RDoc::Task:0x007fb4b46be660>
The relevant code snippet (complete deploy.rake not shown)
RollOut::DeployTask.new do |d|
d.test = RSpec::Core::RakeTask.new
d.doc = RDoc::Task.new :doc do |rdoc|
rdoc.rdoc_files.include('README.md', 'lib/**/*.rb', 'app/**/*.rb')
rdoc.rdoc_dir = 'target/doc'
rdoc.markup = 'tomdoc'
end
The complete trace:
> RAILS_ENV=production rake assets:precompile --trace
rake aborted!
undefined method `markup=' for #<RDoc::Task:0x007fb4b46be660>
/Users/rust/test_app/lib/tasks/deploy.rake:16:in `block (2 levels) in
<top (required)>'
/Users/rust/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/rdoc/task.rb:158:in
`initialize'
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `new'
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `block in <top
(required)>'
/Users/rust/roll_out/lib/roll_out/deploy_task.rb:73:in `initialize'
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `new'
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `<top (required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `block in run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `each'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/application.rb:244:in `run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:446:in `load_tasks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/rust/test_app/Rakefile:7:in `<top (required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/rake_module.rb:25:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:93:in `load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:77:in `block in run'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:75:in `run'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-10.1.0/bin/rake:33:in `<top
(required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `<main>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `eval'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `<main>'
Does anyone has any idea what could be causing this and/or how to fix it?
The error seems to go away if I add gem 'rdoc' to my gem file. I am not sure why this makes any difference, because it was already a dependency of another gem
I'm getting error when I try to migrate postgres database in heroku.
First I got:
$ heroku run rake db:migrate --trace
rake aborted!
undefined method `find_by_name' for Gem::Specification:Class
/app/lib/tasks/auto_annotate_models.rake:22:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/depen dencies.rb:245:in `load'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/depen dencies.rb:245:in `block in load'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/depen dencies.rb:236:in `load_dependency'
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/depen dencies.rb:245:in `load'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `b lock in load_tasks'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `e ach'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `l oad_tasks'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:145: in `load_tasks'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurabl e.rb:30:in `method_missing'
/app/Rakefile:7:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in `lo ad'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in `lo ad_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:583:in `r aw_load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:89:in `bl ock in load_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `s tandard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:88:in `lo ad_rakefile'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:72:in `bl ock in run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `s tandard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:70:in `ru n'
/app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/bin/rake:19:in `load'
/app/vendor/bundle/ruby/1.9.1/bin/rake:19:in `<main>'
What's going on?
Did you do heroku run rake db:create before you do your migrate?