If you are using the deploy:cold task, if expects to run migrations and thus needs a db role. What you want is to not define a db role at all, and then run parts of the deploy:cold task that you want, manually, e.g.:

  cap deploy:update deploy:start

You could, of course, override the deploy:cold task to suit your own needs:

  deploy.task :cold do
    deploy.update
    deploy.start
  end

- Jamis

On Nov 27, 2007, at 5:47 AM, [EMAIL PROTECTED] wrote:


Hi,

On Nov 27, 11:30 am, "Andreas Wolff" <[EMAIL PROTECTED]> wrote:
What's the error message?

Well, depends, for role:db, nil undefined method `match' for
nil:NilClass
for role:db, "" connection failed for:  (Errno::EBADF: Bad file
descriptor - connect(2))
When removing the whole line... I get an no db role defined error.

--
Volker

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to capistrano- [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/ group/capistrano
-~----------~----~----~----~------~----~------~--~---


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to