Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Capistrano tool Recent threads

Threads Replies First post Last post
Deploying to servers behind a gateway
By: Cory Foy
Hi All, I have a not-so-abnormal setup of a server which is behind a gateway. The gateway access is available with SSH, and once there, I can ssh to the target server without a password. The gateway and target servers have different usernames…
1 Apr 17 2012
03:18
May 24 2012
13:34
Err or during cap deploy:update
By: opensourcechris
I can not find what is wrong. I have tried to change the passwords then try again with no luck. This is the error message I am recieving. * executing `deploy:update_code' executing locally: "git ls-remote…
2 May 22 2012
17:28
May 23 2012
07:50
Rails App doesn't find gems after deploy
By: Ramsés López
Hello all, I'm trying to implement capistrano to deploy from my workstation to another server. I followed the instructions from 2.x-From-The-Beginning<https://github.com/capistrano/capistrano/wik i/2.x-From-The-Beginning>, and I configured…
2 May 22 2012
17:27
May 23 2012
00:23
deploying a branch
By: Benjamin Moses Lieb
I've read that with -s I can deploy a specific branch. I tried this and it failed. The branch is only on my local dev machine. Does it also have to be on the remote server? (This post is not cross-posted anywhere)
1 May 22 2012
02:44
May 22 2012
10:49
How can I make `run` or `download` methods to always use the :roles I declared in the code?
By: ? ?
Hi everyone, When I tried to do this: 1. remove the target server from my nginx upstream 2. reload nginx 3. restart my app server # 4. add back to nginx upstream 5. reload nginx. Because I declared a ROLES or HOSTS env, all commands are running…
1 May 22 2012
02:53
May 22 2012
02:58
I'm getting this error when running this capistrano task (my own - cap deploy:show_pointers):
By: Benjamin Moses Lieb
I'm getting this error when running this capistrano task (my own - cap deploy:show_pointers): * executing `deploy:show_pointers' * executing "cd /home/mydomain/public_html/site_folders/rails/current; rake app:show_pointers" servers:…
7 May 21 2012
01:33
May 22 2012
02:50
how deploy a branch
By: Benjamin Moses Lieb
I've read that with -s I can deploy a specific branch. I tried this and it failed. The branch is only on my local dev machine. Does it also have to be on the remote server?
1 May 22 2012
02:44
May 22 2012
02:45
error: no-auth-cache -rHEAD returned status code pid 65009 exit 1
By: jp
When I try to execute $ cap deploy:cold I get the error. --no-auth- cache -rHEAD returned status code pid 65009 exit 1 Command svn info http://corporation.com:1080/SVNROOT/LOCALIZATION/branches/location_of_ my_directory/jay/ --username parteek…
1 May 20 2012
19:27
May 21 2012
10:48
What's the difference between ssh remote command and capistrano run?
By: ? ?
I use capistrano to deploy my java app which is deployed to a resin server. When I use run "/path/to/resin/bin/httpd.sh restart" I just got logs said the server was shuting down, but the server was never started. But when I use ssh $host…
1 May 21 2012
05:15
May 21 2012
10:41
--deployment flag requires a Gemfile.lock
By: jp
When I try to run cap deploy:cold I get this error message. error: The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying. Please note: I am not using rails or…
1 May 20 2012
19:33
May 21 2012
01:32
Is Capistrano needed in a Rails app's Gemfile?
By: Nick Hoffman
Hi guys. Is it necessary to put Capistrano in a Rails app's Gemfile, or at least, in the "development" group in the Gemfile? If not, are there any benefits to doing so? Thanks, Nick
3 May 11 2012
10:25
May 12 2012
01:04
Best practices to cap deploy:start on boot
By: Bráulio Bhavamitra
Hello all, I would like to know the best practices and references to servers start on boot. Even with high uptime servers, we need to certify that server(s) are running after a reboot, so this is necessary... I saw some just copying scripts to…
5 Apr 19 2012
04:06
May 1 2012
01:15
controlling order of execution of tasks in one namespace
By: sq1020
Hi everyone, I'm new to Capistrano and I was wondering how you can control the order of execution of tasks in a certain name space. For example, I have some extra tasks in my deploy namespace. I wanted deploy:bundle and deploy:assets to run…
1 Apr 25 2012
09:41
Apr 27 2012
09:32
Is there's a way to capture Capistrano's output with tee?
By: Manuel Vázquez Acosta
This is a multi-part message in MIME format.Hi, I'm trying to capture capistrano's output with tee in order to watch and persist its output. But the file is being created with no content at all. How can I make something like this work? $ cap…
5 May 18 2011
20:44
Apr 26 2012
10:09
How do I take multiple values for same name in -S option?
By: shrinath_m2
Hi, I have few binaries, like so: xx-1ab, xx-2bc, xx-3cd, xx-4de I have written a task to kill the binaries using pkill. For that, the cap command I used is something like: cap -S kill=xx-2bc kill-bin This is ok if I want to restart only 1…
3 Apr 17 2012
08:59
Apr 23 2012
07:05
Deploying to servers behind a gateway
By: Cory Foy
Hi All, I have a not-so-abnormal setup of a server which is behind a gateway. The gateway access is available with SSH, and once there, I can ssh to the target server without a password. The gateway and target servers have different usernames…
0 Apr 17 2012
03:18
Apr 17 2012
03:18
Customizing Output...
By: jondavidjohn
Is it possible to customize (or disable) the Capistrano output? It seems way too robust in terms of the information it is trying to communicate... Seems like it would be helpful to be able to have an option to turn it off, and allow you to write…
9 Mar 7 2012
13:42
Apr 11 2012
17:28
'Authenticity of host' message with Rsync
By: mafordha
Hi there. I am attempting to write a little recipes that using rsync to copy some images to my server. It looks like this: task :upload_images, roles: :app do run "rsync -r -u -v images/ #{user}@#{address}:#{shared_path}/images" end I…
2 Apr 10 2012
12:05
Apr 10 2012
18:59
Re: Installing MySQL with Capistrano
By: jangosteve
If anyone ends up coming across this, I forgot to post again way back when I eventually had figured this out. The solution I ended up coming up with was this: https://gist.github.com/2267333 Though as someone else pointed out, and even better…
1 Mar 31 2012
13:25
Apr 7 2012
14:27
Re: Add new perforce variable - How to overload a Private method in the perforce.rb file?
By: RandyInLA
After looking at the p4 help for this cli var, I see they call it charset and not unicode. Changes below:
0 Apr 5 2012
16:05
Apr 5 2012
16:05