migrate db error
Hello,
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.
http://www.wiki.devchix.com/index.php?title=WindowsInstaller-Rails_3
Rails Environment Configuration.
git:
user.name: Danielle Banks user.email: [email blocked]
version: git version 1.7.3.1.msysgit.0
ruby:
bin: C:/RailsInstaller/Ruby1.8.7/bin/ruby.exe version: ruby 1.8.7
(2011-02-18 patchlevel 334) [i386-mingw32]
rails:
bin: C:/RailsInstaller/Ruby1.8.7/bin/rails.bat version: Rails
3.0.7
ssh:
public_key_location: C:\Documents and
Settings\banksd/.ssh/id_rsa.pub public_key_contents: ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAyH++AOLfm+JgOMYPIG8YR
TCwIvMCxluM4DW7WG13eCm89rhNxqt0Y9JSnw4L+mF77FbFFutQSc8Lka3sTT1UTCDq0t9T0fvbqLEAD
RNeUn7T896EMSEmkqyIQZ//BtxNrNU2tCugGXPp47gHBGqIJ+oElqiUwmrOt9LljFk5OglFTzsYcubJv
29lhlXv9oa5P6vbE5nuZ7qpvPfkrJdt7tU9SWPESYPxlhZw2PTVe0s2SdYoU7pN4akIV+/JY9RBYIZmg
PDKtywsQh0YSZLUSMleWZN4pDtRujrm74CMeXcRpvxgujlLH2/VVo9AnWL0OIVJtr9n2H0/kuSulH4HW
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 http://0.0.0.0:3000 => 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 127.0.0.1 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
heroku
C:\Sites\test_app>git push heroku master
Warning: Permanently added the RSA host key for IP address
'50.19.85.156' 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 `'
C:\Sites\test_app>
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Nick Quaranto on 23 Sep, 2011 03:14 PM
Looks like a dupe, closing this one.
Nick Quaranto closed this discussion on 23 Sep, 2011 03:14 PM.