# Is there a trick to using Capistrano to deploy Radiant site?

**URL:** <https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906>\
**Category:** Radiant CMS\
**Created:** [October 1, 2008, 12:28am UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906 "2008-10-01T00:28:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![errolsiegel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Post date:** [October 1, 2008, 12:28am UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906/1 "2008-10-01T00:28:38Z")

</div>

I installed the capistrano gem and ran `capify .` (after first adding  
/var/lib/gems/1.8/bin to the PATH variable).

When I try cap deploy:setup I get:

the task `deploy:setup’ does not exist

I have not run into this problem trying to use Capistrano with regular  
rails apps.

Is there something special I need to do?

---

<div class="post-metadata">

**Author:** ![errolsiegel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Post date:** [October 1, 2008, 2:03am UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906/2 "2008-10-01T02:03:36Z")

</div>

On Sep 30, 2008, at 6:28 PM, Errol S. wrote:

> Is there something special I need to do?  
> No special tricks.

Is there anything different about your environment than with your  
regular rails apps? You mentioned that you had to install the gem, so  
I assume that this is some other environment.  
What do you get with “which cap”

---

<div class="post-metadata">

**Author:** ![errolsiegel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Post date:** [October 1, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906/3 "2008-10-01T21:04:38Z")

</div>

Must have been some kind of hiccup. I rebooted, checked out a fresh  
copy of my app from svn, ran capify again, and now it sees all the  
tasks. Perhaps I did something different, but I can’t imagine what it  
would be. Thanks for the response!

---

<div class="post-metadata">

**Author:** ![errolsiegel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Post date:** [October 1, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906/4 "2008-10-01T21:18:38Z")

</div>

On Wed, Oct 1, 2008 at 2:04 PM, Errol S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Must have been some kind of hiccup. I rebooted, checked out a fresh  
> copy of my app from svn, ran capify again, and now it sees all the  
> tasks.

Just to veer a little on this, is there a best practices kind of way to  
use  
content versioning with the import\_export or super\_export extensions?

I have been developing (to a point) on my local machine then putting the  
whole app in subversion, cap deploy, rake production, truncate db  
tables,  
then importing a mysql dump from my local machine into the production  
db.

> From there I only do structural changes on my local machine, cap deploy,  
> then rake any new extensions I added.

Is there a better (read quicker) way to handle content versioning with a  
Radiant app?

~Nate

---

<div class="post-metadata">

**Author:** ![errolsiegel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c77e96/32.png) [@errolsiegel](https://www.ruby-forum.com/u/errolsiegel)\
**Post date:** [October 3, 2008, 1:54am UTC](https://www.ruby-forum.com/t/is-there-a-trick-to-using-capistrano-to-deploy-radiant-site/149906/5 "2008-10-03T01:54:38Z")

</div>

Nate:

Good question. In fact, I have another thread going (should be right  
near this one) where I am trying to sort out best practices for this  
sort of thing.

I also am playing with the import\_export plugin (and running into some  
issues). I’ll post the details on the other thread shortly.

There are a couple of obvious issues to deal with when developing a site  
like this locally:

1. Syncing databases.
2. Syncing data files. For example, page\_attachments stores files in a  
subdirectory of public.
3. Syncing program files. For example, I use a few custom extensions  
and I want to develop them locally. I figure Capistrano is a no-brainer  
for this third requirement, and that seems to be working pretty well so  
far.
