I have performed my first deployment using mongrel_clusters, so maybe
it's a little bit different, but I needed  :

1- gives the mongrel_conf  path in deploy.rb
set :mongrel_conf, "#{deploy_to}/current/trunk/config/
mongrel_cluster.yml"

2-  modify the mongrel_cluster.yml as per
cwd: /var/rails/my_domain/redmine/current
log_file: /var/rails/my_domain/redmine/current/log/mongrel.log
port: "8003"
environment: production
address: 127.0.0.1
pid_file: /var/rails/my_domain/redmine/current/tmp/pids/mongrel.pid
servers: 2
docroot: /var/rails/my_domain/redmine/current/public

in this particular case, I deployed the redmine application  into /var/
rails/my_domain
it was not running without the docroot path....

hope it helps


On 7 Dec, 22:32, Christian <[EMAIL PROTECTED]> wrote:
> I deployed my application and my releases directory is empty and so
> are the directories inside of the shared directory.  What am I doing
> wrong? This is my first time ever deploying anything so I could have
> easily done something wrong.
>
> My deploy.rb file:
> set :user, 'root'
> set :application, "App"
> set :repository,  "https://www.domain.com/svn/repository/app/trunk";
> set :deploy_to, "/home/user/App"
> role :app, "www.domain.com"
> role :web, "www.domain.com"
>
> I am deploying on Mongrel so I altered my spawner file to be:
> #!/usr/bin/env ruby
> require File.dirname(__FILE__) + '/../../config/boot'
> require 'commands/process/spawner -p 5000 -i 1'
>
> Any help would be greatly appreciated!
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to