# Help Deploying with Capistrano

**URL:** <https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149>\
**Category:** Deployment\
**Created:** [July 15, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149 "2008-07-15T18:42:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/1 "2008-07-15T18:42:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/2 "2008-07-15T20:34:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 9:41pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/3 "2008-07-15T21:41:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 10:03pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/4 "2008-07-15T22:03:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 9:47pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/5 "2008-07-15T21:47:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 15, 2008, 10:16pm UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/6 "2008-07-15T22:16:32Z")

</div>

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

[http://capify.org/getting-started/rails](http://capify.org/getting-started/rails)

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

- Jamis

---

<div class="post-metadata">

**Author:** ![alexd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/96bed5/32.png) [@alexd](https://www.ruby-forum.com/u/alexd)\
**Post date:** [July 16, 2008, 4:23am UTC](https://www.ruby-forum.com/t/help-deploying-with-capistrano/143149/7 "2008-07-16T04:23:59Z")

</div>

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](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
