Greetings, All.
Having some problems with cap deploy:restart and more generally in
getting capistrano to bounce my mongrel servers when I deploy.
When I run cap deploy:restart, I get this output:
[frodo.revworks.biz] executing command
*** [err :: frodo.revworks.biz] /usr/lib/ruby/1.8/rubygems/
custom_require.rb:27: command not found: mongrel_rails stop -c /var/
www/fringe_submit/current -P /var/www/fringe_submit/current/tmp/pids/
mongrel.8000.pid
*** [err :: frodo.revworks.biz] /usr/lib/ruby/1.8/rubygems/
custom_require.rb:27: command not found: mongrel_rails stop -c /var/
www/fringe_submit/current -P /var/www/fringe_submit/current/tmp/pids/
mongrel.8001.pid
*** [err :: frodo.revworks.biz] /usr/lib/ruby/1.8/rubygems/
custom_require.rb:27: command not found: mongrel_rails stop -c /var/
www/fringe_submit/current -P /var/www/fringe_submit/current/tmp/pids/
mongrel.8002.pid
** [out :: frodo.revworks.biz] stopping port 8000
** [out :: frodo.revworks.biz]
** [out :: frodo.revworks.biz] stopping port 8001
** [out :: frodo.revworks.biz]
** [out :: frodo.revworks.biz] stopping port 8002
** [out :: frodo.revworks.biz]
** [out :: frodo.revworks.biz] already started port 8000
** [out :: frodo.revworks.biz] already started port 8001
** [out :: frodo.revworks.biz] already started port 8002
command finished
My Deploy.rb:
require 'mongrel_cluster/recipes'
set :application, "fringe_submit"
set :repository, "svn://svn.revworks.biz/fringe/trunk"
set :user, 'benhill'
set :rake, "/var/lib/gems/1.8/bin/rake"
set :mongrel_rails, "/var/lib/gems/1.8/bin/mongrel_rails"
set :deploy_to, "/var/www/#{application}"
set :mongrel_conf, "#{current_path}/config/mongrel_cluster.yml"
role :app, "frodo.revworks.biz"
role :web, "frodo.revworks.biz"
role :db, "frodo.revworks.biz", :primary => true
My mongel_cluster.yml:
---
cwd: /var/www/fringe_submit/current
log_file: /var/log/apache2/mongrel.log
port: "8000"
environment: production
address: 127.0.0.1
pid_file: /var/www/fringe_submit/current/tmp/pids/mongrel.pid
servers: 3
Any help would be most appreciated...thank you!
Ben
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---