Displaying 20 results from an estimated 30000 matches similar to: "Custom Capistrano maintenance template"
2006 May 25
5
Weird Capistrano problem
I''m having problems launching the spin process via the deploy.rb task.
Everything works great when is run the script manually via:
% ssh admin@monterey.example.net /Web/Rails/Example/current/script/spin
However, when I run ''cap spinner'' or ''rake remote:exec ACTION=spinner'',
I get the following errors:
% cap spinner
loading configuration
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake
remote:cold_deploy but it fails on the svn co line with
"bash: line 2: svn: command not found"
I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile
and .bash_login but capistrano seems to be ignoring these.
How does capistrano know where to look for svn?
Thanks
2006 May 25
3
No joy for newbie Capistrano user
Hello,
I tried taking Capistrano out for a test drive and I can''t even get out of
the garage.
I am following the instructions here:
http://manuals.rubyonrails.com/read/chapter/98#page262
As well as Duncan Davidson''s Deploying Rails with Lighty:
Deploying Rails with
LightTPDhttp://duncandavidson.com/essay/2005/12/railsonlighty
Specifically, when I do:
rake remote:exec
2006 May 23
2
Capistrano won''t spawn fcgi processes
I''ve ran into quiet an annoying problem: I have a Capistrano task
that is supposed to run a shell script. The script restarts a rails
application by first killing all active fcgi processes and then
spawning new ones again. The shell script works fine when executed
locally on the server but running this in a Capistrano task will
simply not work.
The task is simple:
desc
2006 Apr 18
3
Capistrano and Certificates
All,
I''m setting up a deployment script with Capistrano at the moment, and
am running into some trouble when it attempts to pull the code down
from the SVN server when I run the deploy task.
The SVN server runs over https, and the problem seems to be when I get
asked whether I want to accept or reject the certificate. I hit ''p'' to
accept the certificate permanently,
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings,
Today I''ve been working out how to begin using Capistrano and so far I''m
impressed. Even in my situation, learning Rails and deploying to a
single server, it''s incredibly helpful. I do have one small question
though:
In using Subversion I''ve used the "ignore" feature to ignore my local
database.yml file, because my local database and
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 16
4
Capistrano :update_code problem
Hi all,
I want to love capistrano and I''m so close.
My error is occuring while running the update_code task... (apologies
for the shell spew)
*************************************************************************
* executing "rm -rf
/home/henster29/sites/glitter/releases/20060316143447/log
/home/henster29/sites/glitter/releases/20060316143447/public/system
&&\n ln
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 14
3
Configuring Capistrano For Local To Remote Deployment
How does one configure capistrano for moving local file to your remote
server? In the docs it says that one cannot use file:// so what''s the
configuration step for resolving this issue?
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060514/93bb7173/attachment-0001.html
2006 Apr 12
3
Capistrano Issues
Well I finnally bit the bullet and upgrade to capistrano and have run
into several issues that I can''t seem to find a fix for. Switchtower
worked perfectly but I can not get cap to work especially with the
change to the command to run a deploy.
The following code worked fine in switchtower to deploy:
switchtower -vvvv -S stage=stage -r config/deploy -a deploy
The stage variable
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 Apr 20
1
Capistrano not working for me
Hello fellow railers,
I''m new to the whole RoR thing and I have finished installing and setting
everything up on my OSX G4 Powerbook. I followed the step by step
instructions at Hivelogic, running lighttpd and everything else. I''m having
an issue with Capistrano.
I''m following the tutorial at Apple:
http://developer.apple.com/tools/rubyonrails.html
Everything in
2006 Jul 03
1
Capistrano - disable_web and enable_web with lighty?
I was using lighty+fastcgi before, and it was working pretty well, but
I decided to move to Apache+mongrel because I really really like
Mongrel. Well now I found out about lighty+pound+mongrel [1] and I
think I''m going to give that a shot. I definitely prefer lighty to
Apache - it''s pretty ridiculous how much fewer resources it uses.
Anyway the only thing I''m going to
2006 Apr 30
4
Subversion and Capistrano
I have a project under Subversion, deployed by Capistrano.
When it is deployed, obviously I need to deploy "real" copies of
database.yml, deploy.rb, and maybe a couple of other files.
But if I offer it for public checkout, I obviously do not want these
files as part of the checked out code.
What''s the best way to handle this?
--Al Evans
--
Posted via
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2006 Mar 07
5
Capistrano: command never finishes?
Hi,
I have created a small :restart task to overwrite the default one:
task :restart, :roles => :app do
sudo "/etc/init.d/lighttpd stop"
sudo "/etc/init.d/lighttpd start"
end
This works fine and lighty does restart, but the last command never
finishes, so I never return to the prompt. Here''s my output:
cap restart
loading configuration
2006 Aug 06
1
Deploying from local machine to remote host using capistrano?
Hi,
I would like to deploy a RoR application from my local machine to a remote
host.
Looks like the capistrano assumes that you are using an internet accessible
host for the SVN repository and doesn''t checkout files using file:///!
Did I miss some configuration?
How do other people handle their application deployment from your local
machine?
Thanks for your feedback.
Regards, Hari
2006 May 26
3
capistrano on windows (again)
Hi all
I didn''t get a response to my first post so I thought I''d try again. is
anyone successfully using capistrano to deploy their app from a windows box?
I''m trying to deploy a test app to my dreamhost account but all i get is
"rake aborted!" with no further information. Can someone please confirm if
capistrano even works under windows?
many thanks
al
2006 Apr 24
4
mongrel_cluster 0.1: easy mongrel clustering
Hi y''all;
A quick note to announce the release of mongrel_cluster, a gem_plugin
for Mongrel. This plugin provides commands for managing multiple
Mongrel processes behind a reverse-proxy server and load balancer.
To install:
gem install mongrel_cluster
Configure (use -h to options):
mongrel_rails cluster::configure
Start:
mongrel_rails cluster::start
I''ve posted a quick