mongrel_cluster.yml versus script/spin ?

4 views
Skip to first unread message

jaambros

unread,
Aug 16, 2007, 4:47:50 PM8/16/07
to Capistrano
Hi all,

I'm trying to deploy my rails application and been following the Agile
Dev w/Rails (ADWR) Setting Up A Deployment Env chapter that seems to
assume cap 1.4 or so.
I've worked around most of the changes to use cap2. However, my
$ cap deploy.cold
works up till the script/spin instruction. Here I'm confused.
Does the script/spin script replace the mongrel_cluster.yml
configuration instructions?

Could someone point me to a full script/spin script that would mesh
with the example in the ADWR?. mongrel is setup like so:
$ mongrel_rails cluster::configure -e production -p 8000 -a 127.0.0.1 -
N 2 -c /deploy/path/current

Thanks, Jose

PS. I'm a novice for both rails, cap and mongrel.

Jamis Buck

unread,
Aug 16, 2007, 5:20:17 PM8/16/07
to capis...@googlegroups.com
You would just put that mongrel_rails command in the script/spin
script. All script/spin is, is an abstraction for firing up your
application, regardless of whether you are using fcgi or mongrel.

- Jamis

Reply all
Reply to author
Forward
0 new messages