similar to: Capistrano restart task

Displaying 20 results from an estimated 10000 matches similar to: "Capistrano restart task"

2006 Apr 30
2
restart with capistrano
Hi all I bumped into the following issue: when trying to restart with capistrano, it does restart, but with the app from the old deployment directory. desc "Restart the app server." task :restart, :roles => :app do run "mongrel_rails restart -c #{current_release}" end Has anybody a better solution for that ? -- Roberto Saccon -------------- next part -------------- An
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
Hey y''all: mongrel_cluster provides management tools for running Mongrel behind a reverse-proxy/load balancer. It is an extraction from Rails Machine, a deployment service and Ruby library that simplifies Rails application deployment. This release fixes bugs and adds a Capistrano task library. Changes: -changed pid file format to include port -only write configuration options
2006 Mar 08
6
best practices for handling uploaded images and capistrano
Quick question: I am going to use the file_column plugin to manage uploading thumbnails. By default the images are stored in the public/ dir of the rails project. The problem I see is that when capistrano redeploys a new build and symlinks it in none of the images will be in the new public/ dir... Does anyone have a solution for this? Thanks, Zack -------------- next part -------------- An
2006 Mar 23
4
ANN: capistrano-runit-tasks 0.2.0
I''d like to announce the second release of capistrano-runit-tasks, available from http://rubyforge.org/projects/cappy-runit/ It now supports: * File based templates * sv as the service control command in addition to runsvctrl * A much simpler interface for creating additional services. More work still needs to be done though! == TODO * Allow add_service to create more than one
2006 May 04
4
problem setting up mongrel_cluster 0.1.1
I posted this to the rails list before by mistake, and only later realized that there is a specific mongrel list. Uff, I got lost. I had mongrel_cluster 0.1working fine, even with capistrano (my own hack). Then came mongrel_cluster 0.1.1 and I tried to set it up, but somehow I messed up things and nothing worked anymore. So here is what I did: on production machine: (debian linux, rails 1.1)
2006 Jun 07
7
Tunneling in capistrano twice
Hi there, The default recipe expects you to be able to access your web server directly from your local machine. On our web server, for security purposes, it is only possible to ssh to it through one particular ip (which is also a remote machine.) The capistrano source is so compact and tidy it looks very hackable. But rather than messing around I thought I''d ask first if anyone else
2006 May 22
6
which kind of deployment has the best performance
In the following deployment of web app on ONE pc-based server,running linux,which can support the most amount of concurrent users as well as the shortest latency? 1 apache+mongrel 2 apache+mongrel_cluster 3 lighthttpd+mongrel 4 lighthttpd+mongrel_cluster 5 lighthttpd+fastcgi Thanks charlie -- Posted via http://www.ruby-forum.com/.
2007 Apr 03
2
mongrel cluster restart with capistrano fails but manually works
Hi all, I am out of my head here... I have a 3 node cluster with 10 mongrels running on each. When I deploy, I break all the mongrels every time. I have tried just about everything. I can restart my mongrels without a hitch manually, it''s only when I use cap deploy. Maybe I am missing something here... so if I can get some help it would be appreciated. The errors are the typical mongrel
2006 May 19
12
Mongrel/Apache and static content
I''m looking for an easy way to have mongrel only serve dynamic railscontent, while letting Apache serve non-Rails content. Unfortunately,it seems that you have to segregate the static content in its ownfolder. That was also the case with the SCGI runner. I used thetrick outlined athttp://comments.gmane.org/gmane.comp.lang.ruby.rails/23347 to managethis. I was curious if a similar
2006 Jun 03
9
MergeJS - Easily merge, compress, cache, and version your javascript!
After reading Cal Henderson''s article on Vitamin Serving Javascript Fast<http://synthesis.sbecker.net/articles/2006/06/03/www.thinkvitamin.com/features/webapps/serving-javascript-fast>I was immediately inspired to create a plugin to easily facilitate this in Ruby on Rails. I whipped up most of it right then, and finally got around to polishing it for release today. Told myself I
2006 May 22
5
Using mongrel cluster
Me thinks the docs might need a bit of fleshing out ;P http://mongrel.rubyforge.org/docs/mongrel_cluster.html At the very least, what vars can go in its config. Joe -- Posted via http://www.ruby-forum.com/.
2008 May 28
0
mongrel_rails cluster::restart task via capistrano mongrel_cluster/recipes problem.
Hi Guys, I hope its ok to post to this list. I have a rails on ubuntu deployment stack which consists of: locally: cap 2.3.0 and all latest deps server side: apache 2.3, mongrel_cluster, mod_proxy and git on the same host. I am connecting to my remote host via ssh with agent and pass phrase. All is good until my first mongrel task, deploy:restart task. I have included the
2006 Dec 01
2
deploying mongrel with capistrano
I''m wondering if anyone has built a Capistrano task that will deploy mongrel either standalone or along with a rails app. I''ve been looking at possibilities for doing this but still new to using both having switched from using FCGI+Lighty and deploying by hand. Thanks, Curtis
2007 Oct 28
2
cluster::restart doesn''t wait for stop before starting
Hi, I''m calling restart from my Capistrano task. I have this in my deploy.rb file: # until mongrel_cluster updates to cap2... namespace :deploy do task :start, :roles => :app do start_mongrel_cluster end task :stop, :roles => :app do stop_mongrel_cluster end task :restart, :roles => :app do restart_mongrel_cluster end end (What''s the scoop on
2006 Aug 18
3
New automated Capistrano setup for Apache2.1+ and mongrel_cluster
Hi mongrel users! I just posted a bad-ass capistrano file that automates *everything* for setting up an apache2+mod_proxy_balancer and mongrel+mongrel_cluster -- including apache2 setups. It''s based off Coda Hale''s guide and all Bradley''s work at fluxura and RailsMachine (thanks Coda and Bradley!). It''s, well, bad-ass, if I must say so myself. My favorite
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped: I have an app that requires sudo to run mongrel_rails. For my capistrano recipe is do it like this: sudo "mongrel_rails start -e production -p #{application_port} -d -c #{current_path}" Which works famously. Now I have tried several things for my restart task. Here they are: sudo "cd #{current_path} && sudo
2007 May 02
13
RSpec 0.8.2 pain, missing spec/rails?
Hi. I''m upgrading a project from an 0.8.0 pre-release gem to 0.8.2. I''ve installed the 0.8.2 gem, and the rspec_on_rails 0.8.2 plugin: ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/REL_0_8_2/rspec When I try to run my specs though, I get the below error. It''s as if the spec_helper cannot find "spec/rails". I''ve noticed that
2006 Jun 20
2
Capistrano, chmod, and revisions.log
background: One of our developers is just getting started with Capistrano, just getting together a rudimentary deploy.rb, copied from one of our contract developers who is just getting started a bit too. I''m the systems manager and a complete Rails and Ruby newbie (who, by the way, cannot thank Zed Shaw enough for mongrel and Bradley Taylor enough for mongrel_cluster :-)
2006 May 10
6
how many mongrels to start
is there a way to determine how best to determine the number of mongrel processes to start? Right now i am running 2 in production but I see some people run about 8 or so. What is the cutoff and determening factor for this ? thanks adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Apr 17
7
problem restarting mongrel_cluster outside RAILS_ROOT - patch and other option
Hey folks. Sorry for the SUPER long email but if you''ve been experiencing the same problems with restarting your mongrel cluster with Capistrano, then I have two solutions that have worked for me and I''m pretty sure will for you as well. THE PROBLEM I was having trouble restarting my clusters using Capistrano. I''ve seen this come up before on the mailing list and