views:

107

answers:

1

I am new to using git and Capistrano. I have setup everything else on my server and pushed my app onto a git repo (http://github.com/tnederlof/daily-trailer). When I go to run cap deploy:cold everything seems to be working until it tries to rake the db. Below is what I get when I run it, this is the last bunch of information I recieve and where the error occurs:

  * executing "cd /var/www/dailytrailer.net/releases/20100205052047; rake RAILS_ENV=production  db:migrate"
    servers: ["173.203.201.168"]
    [173.203.201.168] executing command
 ** [out :: 173.203.201.168] (in /var/www/dailytrailer.net/releases/20100205052047)
    command finished
  * executing `deploy:start'
[DEPRECATED] `deploy:start` is going to be removed after 2.5.9 - see http://is.gd/2BPeA
  * executing "cd /var/www/dailytrailer.net/current &&  nohup script/spin"
    servers: ["173.203.201.168"]
    [173.203.201.168] executing command
 ** [out :: 173.203.201.168] nohup: ignoring input and appending output to `nohup.out'
 ** [out :: 173.203.201.168] nohup: cannot run command `script/spin': No such file or directory
    command finished
failed: "sh -c 'cd /var/www/dailytrailer.net/current &&  nohup script/spin'" on 173.203.201.168

Can someone please help me figure out what script/spin is all about?

Thank you!

+2  A: 

Do you know what you're trying to use for an app server? If it's Passenger, then you've got something screwed up in your deploy.rb. (Post that file if you want more help debugging this.) If it's mongrel, then this should be helpful.

http://www.rubyrobot.org/article/deploying-rails-20-to-mongrel-with-capistrano-21

jdl
You were right, I checked again in the deploy file, something was wrong. Thanks for the help!
Trevor Nederlof
You're welcome. Capistrano is a handful at first.
jdl