Help Deploying with Capistrano

I’m attempting to deploy an application using Capistrano. I’ve
successfully “capified” and have edited the deploy.rb file. However,
when I run either “rake remote:setup” or “rake remote:exec ACTION =
setup” I get an error saying that
“rake aborted!
Don’t know how to build task ‘remote:setup’” (or ‘remote:exec’)

I am issuing the rake commmands from the project’s top-level directory
on my local server. I’ve attached my “deply.rb” file in case it helps.

Can someone tell me what I am forgetting to do, or what is wrong?

Thanks - Alex

Invoking capistrano via rake is deprecated, and is not supported at
all with Capistrano 2.0. Please use “cap” directly, instead of rake,
for invoking capistrano.

cap deploy:setup

  • Jamis

Jamis B. wrote:

Invoking capistrano via rake is deprecated, and is not supported at
all with Capistrano 2.0. Please use “cap” directly, instead of rake,
for invoking capistrano.

cap deploy:setup

  • Jamis

Jamis,

Thanks again! All my print references seem to be out of date. Is there
a site with up-to-date, step-by-step directions for doing this?

Alex

Jamis B. wrote:

On Jul 15, 2008, at 1:41 PM, Alex DeCaria wrote:

Thanks again! All my print references seem to be out of date. Is
there
a site with up-to-date, step-by-step directions for doing this?

Alex

Alas, there is no centralized place for docs (yet), but there are blog
articles aplenty.

  • Jamis

Jamis,

OK. I think I’m almost there. Once I do “cap deploy:setup”, what’s the
next step? I need to know what replaces the deprecated “rake
remote:cold_deploy” step.

Thanks,

Alex

On Jul 15, 2008, at 1:41 PM, Alex DeCaria wrote:

Thanks again! All my print references seem to be out of date. Is
there
a site with up-to-date, step-by-step directions for doing this?

Alex

Alas, there is no centralized place for docs (yet), but there are blog
articles aplenty.

  • Jamis

Ah, ok. I wasn’t sure how far you were into it, but this doc might help:

http://capify.org/getting-started/rails

It takes you from the beginning and walks you through setting up your
app for cap2.

  • Jamis

Jamis B. wrote:

Ah, ok. I wasn’t sure how far you were into it, but this doc might help:

http://capify.org/getting-started/rails

It takes you from the beginning and walks you through setting up your
app for cap2.

  • Jamis

Thanks again! - Alex