I'm having some trouble where it seems that capistrano deploys just fine
(with cap deploy), however, the site is never refreshed. After some
checking it appears that capistrano in fact restarts the mongrels, but
not for the current release?

This is the relevant piece from my config/deploy.rb:

task :restart, :roles => :app do
  # stop mongrel clusters for previous release and start for current
  run "cd #{previous_release} && mongrel_rails cluster::stop"
  run "sleep 5"
  run "cd #{current_release} && mongrel_rails cluster::start"
end

Also, on the server script/process/reaper seems to restart an old
release as well. Anyone seen this?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to