migrate db error

Danie's Avatar


06 Jul, 2011 02:58 PM

Over the weekend I decided to install the entire ruby/rails environment on my computer. I followed the process at the link below but I got stuck on the "verify heroku is setup" step. Here's the output from the command prompt. Can you help? I was super excited that I got that far. Basically, it seems like I created a database but I can't migrate it to the test app I created. I'm wondering if it had anything to do with the fact that I had heroku on here before I started downloading all the other stuff. Let me know your thoughts.


Rails Environment Configuration.

user.name: Danielle Banks user.email: [email blocked] version: git version

bin: C:/RailsInstaller/Ruby1.8.7/bin/ruby.exe version: ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]

bin: C:/RailsInstaller/Ruby1.8.7/bin/rails.bat version: Rails 3.0.7

public_key_location: C:\Documents and Settings\banksd/.ssh/id_rsa.pub public_key_contents: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyH++AOLfm+JgOMYPIG8YR TCwIvMCxluM4DW7WG13eCm89rhNxqt0Y9JSnw4L+mF77FbFFutQSc8Lka3sTT1UTCDq0t9T0fvbqLEAD
Q== Danielle Banks [email blocked]

C:\Sites>cd test_app

C:\Sites\test_app>rails server
=> Booting WEBrick => Rails 3.0.7 application starting in development on => Call with -d to detach => Ctrl-C to shutdown server [2011-07-05 13:05:55] INFO WEBrick 1.3.1 [2011-07-05 13:05:55] INFO ruby 1.8.7 (2011-02-18) [i386-mingw32] [2011-07-05 13:05:55] INFO WEBrick::HTTPServer#start: pid=3404 port=3000

Started GET "/users" for at Tue Jul 05 13:08:23 -0400 2011
Processing by UsersController#index as HTML User Load (31.2ms) SELECT "users".* FROM "users" Rendered users/index.html.erb within layouts/application (46.9ms)
Completed 200 OK in 312ms (Views: 93.7ms | ActiveRecord: 31.2ms)
[2011-07-05 13:08:34] INFO going to shutdown ... [2011-07-05 13:08:34] INFO WEBrick::HTTPServer#start done. Exiting
Terminate batch job (Y/N)? y

C:\Sites\test_app>heroku create
Creating young-meadow-966... done, stack is bamboo-mri-1.9.2
http://young-meadow-966.heroku.com/ | git@heroku.com:young-meadow-966.git

C:\Sites\test_app>git remote show

C:\Sites\test_app>git push heroku master
Warning: Permanently added the RSA host key for IP address '' to the
list of known hosts. Everything up-to-date

C:\Sites\test_app>heroku rake db:migrate
(in /app) rake aborted!
uninitialized constant Rake::DSL
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:8:in<class:Ta skLib>'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:6:in <module:R ake>' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:3:in'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rdoctask.rb:20:in require ' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rdoctask.rb:20:in'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks/documentation.r ake:1:in require' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks/documentation.r ake:1:in'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks.rb:15:in `load'

/app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks.rb:15:in block in <top (required)>' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks.rb:6:ineach' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/tasks.rb:6:in <top ( required)>' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:214:inrequire' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:214:in initialize_tasks' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:139:inload_tasks' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.7/lib/rails/application.rb:77:in method_missing' /app/Rakefile:7:in' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2373:in load' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2373:inraw_load_rakefile' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2007:in block in load_rakefile' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2058:instandard_exception_handling' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2006:in load_rakefile' /usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:1991:inrun' /usr/ruby1.9.2/bin/rake:31:in `'


  1. Support Staff 1 Posted by Nick Quaranto on 23 Sep, 2011 03:14 PM

    Nick Quaranto's Avatar

    Looks like a dupe, closing this one.

  2. Nick Quaranto closed this discussion on 23 Sep, 2011 03:14 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Jul, 2015 03:53 PM
15 Jul, 2015 08:12 PM
15 Jul, 2015 07:36 PM
15 Jul, 2015 07:35 PM
15 Jul, 2015 07:24 PM