You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion about the Capistrano remote management tool. Share tips and recipe files. Discuss the development of extensions and plugins, as well as the implementation of Capistrano itself.
|
|
|
Net-SCP bug in download from, to, {:via => :scp}
|
| |
Hi,
I recently spoke with Jamis on the IRC to report a problem I had with
a "download" call over a gateway connection.
Looks like the problem comes from line 351 of lib/net/scp.rb
channel.on_close { |ch|
raise Net::SCP::Error, "SCP did not finish successfully
(#{ch[:exit]})" if ch[:exit] != 0... more »
|
|
Execute parallel as sudo
|
| |
When using the parallel helper, is there a way to run the commands as
sudo? For example,
task :start_all do
parallel do |session|
session.when "in?(:app01)", "/etc/init.d/apStart app01"
session.when "in?(:app02)", "/etc/init.d/apStart app02"
end
end
I would like the command executed by session.when to execute as if it... more »
|
|
mongrel_rails won't terminate a defunct process
|
| |
mongrel_rails stop -P ./hostname.pid won't TERM defunct process
I have to use:
mongrel_rails stop -P hostname.pid -w 3 -f
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
Sending KILL to Mongrel at PID 28123...Done.
Are there any other ways of recovering from a defunct process via... more »
|
|
deploy: update_code problem
|
| |
Hello,
I'm trying to deploy my rails app to dreamhost. I've got the deploy.rb
file setup and the directorys in place. Once I've typed 'cap deploy'
into the command line and entered my password I'm getting the
following error:
** [deploy:update_code] exception while rolling back: NoMethodError,... more »
|
|
IE Session IDs Keep Changing
|
| |
I'm not sure if this is the right forum, but here is the situation:
We have two identical virtual servers (both with the environment set
to development) that we deploy to with Cap (2.5.0) using multistage
(1.2.1). At the moment, we are just using Apache (2.2.8), and will be
setting up the mongrels in a week or so. It' a new application, with a... more »
|
|
small feature request (inspired by rake)
|
| |
As the number of rails rake tasks have increased over the years, I've
really fallen in love with the ability to just do 'rake -T db' to get
a list of tasks with 'db' in them. I would love to have a similar
feature in capistrano so I can more easily sift through my growing
list of cap tasks -- for example: 'cap -T monit'.... more »
|
|
stream caused capistrano to hang
|
| |
Hi I have a capistrano that "stream" that in turn running make in the
remote server.
The code looks like this
***********************
desc "Create Jail Host system"
task :create_jail_host do
started_at = connection_info
jailname = "chad1"
destdir = "/usr/local/jail/" + jailname... more »
|
|
cap -T fails on Windows?
|
| |
Ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem v 1.2.0
capistrano gem (2.5.0, 2.4.3, 2.3.0)
Rails v2.1.1
I'm sure this is something dumb....but from a command window inside my
rails directory if I try cap -T (with no arguments) I get the
following, any tips would be appreciated.... more »
|
|
Download through a gateway
|
| |
Hi,
I am trying to get files from my server to my local box with
Capistrano.
download "remote", "local" => # hangs
download "remote", "local", :via => :scp => # download via scp failed
on IP: SCP did not finish successfully
Is this a know issue ?
Thx
Julien
|
|
|