Displaying 20 results from an estimated 9000 matches similar to: "Is it possible to serialize capistrano tasks?"
2006 Mar 18
2
ANN: capistrano-runit-tasks 0.1.0
I''d like to announce the first release of capistrano-runit-tasks.
This came about as I wanted to use runit rather than spinner/spawner/
reaper on my memory limited VPS but should be useable for any setup.
From the README:
This library extends Capistrano to allow processes to be supervised
using the
runit package. It replaces some of the standard tasks with runit
versions and
2006 Mar 21
2
Capistrano: creating your own tasks
When I create a task within capistrano.rb I can call it using rake.
When I create a task and put it in deploy.rb I can call it. Neither
with or without the remote: namespace.
Anyone have any insight into why it does not work?
John Kopanas
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
2007 Aug 21
4
[AWDwR] Confused about has_one and has_many
Heya everyone!
I am quite new to Rails and I am reading AWDwR. I am at Task E "Check
Out!". I understand it quite well, but I have a problem with the last
playground exercise: Add a Table which contains the payment types.
All goes well, but I am not sure whether I should use has_many or
has_one(as in the Playground wiki at
http://wiki.pragprog.com/cgi-bin/wiki.cgi/PT-E-3).
I use the
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
Hi all,
I''m trying to integrate Capistrano (thanks Jamis and DHH for such a lovely
piece of software) into an application I''m writing.
I can''t figure out, though, how to get output from capistrano when it''s used
through the CLI or configuration class, however. I see that it implements a
logger (Logger) and I see that starting on line 12 of the included
2006 Jun 28
0
Capistrano Command Worries
Hey all,
I have a problem that I cannot wrap my head around. I have a
capistrano task to kill my lighttpd process and restart it. Here is
the subtask, stop_lighttpd, that fails:
task :stop_lighttpd, :roles => :web do
run "kill -9 `ps aux | grep lighttpd | grep #{deploy_to} | awk
''{print $2}''` > /dev/null"
end
I know for a fact that when stop_lighttp is
2006 May 24
0
capistrano on windows
I''m trying to deploy my app to the production server (on dreamhost) from a
windows box. however, all I get is "rake aborted" without any further error
messages. I have no idea where to even start debgging this. I''ve checked and
re-checked the details in deploy.rb but otherwise I''m stumped. any ideas
anyone?
thanks
al
output from command line:
2006 May 01
2
Capistrano restart task
Hi. Have anyone figured out a simple restart task for mongrel using
Capistrano?
Br.
Morten
2007 Jun 06
0
Capistrano: Port in SVN
. . .
* executing "sudo chmod -R g+w /usr/local/svn/project_name"
servers: ["project_name.com"]
[project_name.com] executing command
command finished
* executing task svn_import
Adding branches and tags
ssh: connect to host project_name.com port 22: Connection refused
svn: Connection closed unexpectedly
Importing application.
ssh: connect to host
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 Apr 10
1
Capistrano/SwitchTower: DB activity for deploy task?
All,
Does anyone know if Capistrano/Switchtower actually does anything on the
database server as part of the "deploy" task?
I''m pretty sure that it doesn''t, but thought I would verify.
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2007 Jul 29
3
capistrano problems
I installed capistrano and have tried several things. Can''t seem to get
it working.
This is what i am getting.
C:\ruby\radrails\modernfossil>cap deploy
* executing `deploy''
* executing `deploy:update''
** transaction: start
* executing `deploy:update_code''
svn: Can''t create tunnel: The system cannot find the file specified.
***
2006 Sep 10
0
capistrano ssh login problem
Hi all,
When I run rake remote:exec ACTION=setup, I''m prompted for my password and
then I get an error and can''t connect. The trace is:
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh/session.rb:129:in
`initialize''
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `start''
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 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,
2007 Nov 19
1
Capistrano in InstaRails bombs?
Following the book, I try:
cap --apply-to C:\CapPlanner\trunk\Source capplanner
And get in reply:
C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1443:in `complete'':
invalid option: --apply-to (OptionParser::InvalidOption)
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`catch''
from C:/InstantRails/ruby/lib/ruby/1.8/optparse.rb:1441:in
`complete''
2006 Jul 21
1
Capistrano before and after tasks
I try to extend db:test:copy_structure task to poulate test database
with some existing data everytime i run it.
It seems that "after_" task is not called as should be:
> namespace :db do
> namespace :test do
> task :after_clone_structure do
> puts "after_clone_structure_to_test"
> end
> end
> end
Anyone know what I am doing wrong?
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is "No such file or directory" I''ve included the full
error listing below.
The SVN definately exists because we''re using for development.
Does any one have any ideas what might be going wrong?
Thanks
Tom
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 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