No releases.last crashes first deploy

0 views
Skip to first unread message

skrat

unread,
Nov 5, 2009, 10:20:37 AM11/5/09
to Capistrano
Hi all,

I'm running into problem where I am unable to do first time deploy.
Capistrano crashes with following trace (http://pastie.org/684879).
Looking at the source file, it's looking for last release, which
obviously isn't there.

I found some other posts on this, but none with working solution. This
guy (http://www.coding4life.com/web-application-frameworks/ruby-on-
rails/capistrano/deploying-to-staging-and-production-environments-via-
capistrano) seems to describe the same bug, but I have deploy_to
variable set correctly.

my machine is ubuntu 9.10 with ruby 1.8.7 and capistrano-2.5.9
server is debian lenny with REE 1.8.7

Seems like a common pitfall, nowhere described, any ideas on this
issue?

Lee Hambley

unread,
Nov 5, 2009, 11:51:02 AM11/5/09
to capis...@googlegroups.com
Skrat,

Did you run a "cap deploy:setup" -- and diving straight in with multistage without much experience is bold, can you share you're capfile & config/deploy.rb… I ask because this is a little unusual "executing `deploy:migrate'" right after the multistage call.

-- Lee Hambley

Twitter: @leehambley | @capistranorb

Rafael G.

unread,
Nov 5, 2009, 11:57:09 AM11/5/09
to capis...@googlegroups.com
could you paste(pastie) your deploy.rb ?
--
Rafa

skrat

unread,
Nov 10, 2009, 8:54:42 AM11/10/09
to Capistrano
Hi, thanks for interest, the problem is now gone, but I'm not aware of
how that happened, anyway, more people seem to run into same issue but
nobody posted a fix.

recipes:

http://pastie.org/691892
Reply all
Reply to author
Forward
0 new messages