I was wrong about my notes, it's about long tasks that block the other
connections.
Anyway, have you tried to play with ClientAliveCountMax and
ClientAliveInterval parameters in sshd_config(in the server), I think
if you try with very high values it could work.
Regards
On Sep 12, 10:03 pm, Bria
El 09/11/10 03:17, Charles Calvert escribió:
On 11/8/2010 7:37 PM, Mike Bailey wrote:
Capistrano would be a great tool for this job. You'll put all your
common config in config/deploy.rb
and then include only the variations (paths, dbnames, etc)
config/deploy/*.rb
It's dry and you can compose '
Hi Joe,
Send a pull request to capistrano/capistrano.
Thanks
El 27/08/10 22:10, Patrick Reagan escribió:
Joe -
You don't say where your SCM is hosted (I'm assuming it's internal), but we
created a Capistrano deployment strategy that you might find useful:
http://github.com/vigetlabs/cap
El 16/08/10 17:23, etagwerker escribió:
Hello,
I've just deployed a new application and I was wondering if there is a
task for creating the database and then the database user in MySQL.
This is what I wrote in my deploy.rb:
http://gist.github.com/527117 (I'm not happy that lines 9& 10 display
El 02/07/10 14:49, nbenes escribió:
...
At this point it hangs indefinitely until I tell it to stop. Anyone
have any ideas what it's doing?
Could you said me what ruby, capistrano and net-* versions you use?
Thanks
--
Rafa
--
* You received this message because you are subscribed to th
El 27/06/10 11:25, Michael Guterl escribió:
On Wed, Jun 23, 2010 at 10:49 AM, Michael Guterl wrote:
Hi Lee,
On Wed, Jun 23, 2010 at 10:46 AM, Lee Hambley wrote:
Micheal,
Your output please?
Sorry about that, I updated the original gist: http://gist.github.com/449970
El 21/06/10 09:20, BGarr escribió:
Hi
Thanks for making this Q/A available. My script/spin is chmod'ed to
775, chown'ed to the user I specified in my deploy.rb, and still I get
a Permission denied error when running cap deploy:start (at nohup
script/spin). /script's directory permissions are good
El 15/06/10 05:59, Robin Bowes escribió:
Hi,
I'm using copy_cache to speed up checkouts& I'm using :deply_via,
copy. I'd like to exclude .svn dirs from the tarball so I'm looking into
:copy_exclude
Do I need to include wildcards in that patterm to exclude .svn dirs, eg:
set :copy_exc
Recently I have a problem with Git Submodule Recursive and I had to use
a plugin to solve this problem.
I think that this solution(add --recursive option as default) if it
don't produce any gotcha/error/... it could be a default. Anyway a path
to let add options freely is welcome :)
Regards
El 04/06/10 06:27, Robin Bowes escribió:
Hi,
Is there any documentation that lists the ENV vars that may be used on
the command line to customise the deployment process?
For example, I've just stumbled across HOSTFILTER, HOSTS, ROLE in some
archived posts to this list.
It would be nice to see
Hi Ramon,
You can try this:
"run "cd #{current_path}"; #{try_sudo} #{rake_path} gems:install
RAILS_ENV..."
Regards
El 24/05/10 06:08, Ramon Tayag escribió:
Hey guys,
I can't seem to figure out how to execute sudo rake gems:install.
I've tried:
1. run "cd #{current_path}"; #{sudo_pa
El 18/05/10 22:38, Ronie Gilberto Henrich escribió:
Hi Rafael,
max_hosts just limit the number of hosts, not the number of ssh channels per
connection.
Thanks,
Ronie
I'm seeing the code in capistrano/lib/capistrano/ssh.rb and said at line 35:
# If an :ssh_options key exists in +optio
El 18/05/10 22:38, Ronie Gilberto Henrich escribió:
Hi Rafael,
max_hosts just limit the number of hosts, not the number of ssh channels per
connection.
Thanks,
Ronie
Ok, I don't understood. I will see for it later.
--
Rafa
--
* You received this message because you are subscribed to t
El 18/05/10 16:58, Ronie Gilberto Henrich escribió:
Hi,
Is it possible to configure capistrano to limit the number of SSH
channels that can be open to 1, so it does not use ssh connection
multiplexing?
Thanks,
Ronie
Hi Ronie,
I guess you can use max_hosts option.
For example:
task :f
hi bengugohit,
Are you doing a "export"?
Also you can check the paths:
#{repository_trunk}/private/source#{repository_branch}/#{webistrano_stage}
El 12/05/10 10:29, benbugohit escribió:
I'm assuming that "sh" command executes the command remotely but I'm not
sure because error sa
Could you paste your deploy.rb in pastie(or other site) to check it?
Regards
On 03/05/10 04:17, val2many wrote:
Hi,
I had some server trouble, which had two or three deploy attempts to
fail.
Now, when I do a cap deploy it fails because capistrano checks for a
the previous release that also faile
I believe that you installed rubygems from ubuntu package, and I guess
it has custom paths.
To avoid problems I recommend install rubygems[1] by hand and don't use
ubuntu version.
Regards
[1] http://rubygems.org/pages/download
On 29/04/10 23:06, rm.sylvester wrote:
Hi guys,
I've just got
On 20/04/10 19:15, badnaam wrote:
Does capistrano work on localhost deployments? I have been reading
around and seems people run into problems and it's designed to work
with "remote" hosts not local. Just wanted to hear your thoughts
before I spend a lot of time trying this on localhost.
Thank f
Joshua J. Kugler wrote:
We're deploying our sites to Windows 2003 (via Cygwin) and have run
across a problem where a directory is being held open by the web
server, causing the "rm -rf" stage of the keep releases method to fail,
thus causing the deployment to fail.
How might we modify (or ove
A bit late but I hope it helps you:
http://gist.github.com/318312
Regards
joe wrote:
Hello all,
I'm trying to figure out how to make a task that will move a directory
from my dev server to my staging server (this is the server I'm
deploying to with Capistrano). The dev server informat
TStackhouse wrote:
Hi all,
I was discussing this in the chat room and lhambley/tsal recommended I
bring it up to the list.
Basically I'm working on streamlining a multistage deploy script that
I wrote for a project to be more general and have less redundant
code. To that end, I'm trying to co
dopedoxygen wrote:
Hi,
I have a repository with 4 different projects. Can I deploy all of
these one by one. I want the script to be something like this.
1> On running cap deploy:php it should ask me for number of projects
that are to be deployed.
2> Say if the number=2 it should ask me for the
brianp wrote:
Hey Everyone,
I'm following this tutorial: http://www.isnorcreative.com/blog/28
(although I'm not on WebFaction)
with some added instructions from:
http://www.capify.org/index.php/From_The_Beginning
My deploy.rb: http://pastie.org/871427
My Capfile:
load 'deploy' if respond_to?(:
Konstantinos L. wrote:
Hi guys,
sorry if this has been said again but i am a little confused. I have
setup the VisualSVN server on my machine (windows 7), i have created
my project, i have capified it etc but when i run the command cap
deploy command i get this error:
[testsite.gr] executing
errors
Virtual timer expired
On Mar 4, 8:29 am, "Rafael G." wrote:
Hi Colin,
Could you execute this script on the server:
"sh -c 'if [ -d /pathTo/rails/releases/20100303182701 ]; then c
d /pathTo/rails/releases/20100303182701; else cd /pathTo/rails
/cur
Hi Colin,
Could you execute this script on the server:
"sh -c 'if [ -d /pathTo/rails/releases/20100303182701 ]; then c
d /pathTo/rails/releases/20100303182701; else cd /pathTo/rails
/current; fi; rake RAILS_ENV=production thinking_sphinx:configure'"
It's very odd the "Virtual timer error"
Co
Hi Colin,
What files are in /PathTo/rails/releases/20100302172844/ ? Seems that
Rakefile isn't in path. Can you confirm their existence?
Colin wrote:
I don't know.
If I call cap deploy:migrations, it will call the methods as above on
a release number that is the current time but it gets its
This code don't have any garantee, I wrote it on the fly. I hope you get
the idea.
For permissions problem:
after "deploy", :change_permissions
after "deploy:migrations", :change_permissions
desc "Change permissions"
task :change_permissions, :roles => [ :app, :db, :web ] do
sudo "chown
get copied to the server to (pathTo/rails/current/
MyApp/public/stylesheets).
I was just following the beginners guide so I figured it was going to
put everything where it needed to be.
Can you suggest how I would get them where capistrano wants them?
Thanks,
Colin
On Feb 25, 2:55 pm, &qu
e:
Here you go: http://pastie.org/842054
On Feb 25, 8:42 am, "Rafael G." wrote:
Please, could you paste your deploy.rb in some place(gist,pastie,...)?
Colin wrote:
Yes.
The stylesheets etc. are being copied over to pathTo/rails/current/
MyApp/public/stylesheets (whic
Please, could you paste your deploy.rb in some place(gist,pastie,...)?
Colin wrote:
Yes.
The stylesheets etc. are being copied over to pathTo/rails/current/
MyApp/public/stylesheets (which is where they are in my development
environment) but they are not being placed in pathTo/rails/current/
pu
I guess that you compiled ruby by hand and forgot include openssl support.
You need install libssl-dev , then go to
ruby_source_code_path/ext/openssl then write the next commands:
ruby extconf.rb
make
make install
Regards!
joe wrote:
Hello everyone,
I've been running through this articl
Marc wrote:
On the deploy:setup status, I'm trying to link everything on the
remote repositories to the correct place in the servers (I'll have to
setup rather big group of servers)
My problem is that I want to link all wars on one repo dir to the
destination, and I'm doing this.
cmd = "ln
Robin Bowes wrote:
On 09/02/10 13:08, Robin Bowes wrote:
For example, I have this in dev.rb:
task :enum_partition, :roles => [:puppet_masters] do
desc "Enumerate hosts that are partition servers from puppet DB"
# noop in dev
end
I replace this with:
task :enum_partition, :rol
Tom Copeland wrote:
On Feb 4, 2010, at 6:39 AM, Tom Copeland wrote:
Hi all -
I saw some discussion of this in the archives, but has anyone done integration
between deploy:check and config.gem? I know there are tricky bits - e.g.,
config/environments/foo.rb could declare its own depende
How do you tried it[http://www.capify.org/index.php/Path_Problems] ?
More info from http://www.capify.org/index.php/Run:
:pty
If true, a pseudo-tty will be allocated for each command. The default is
false. Note that there are benefits and drawbacks both ways.
Empirically, it appears that if a
I'm investigating it, when I discover something I will tell you.
d wrote:
Hi,
Sorry, if this has been posted already...
I've been using capistrano 1.3.0 for some time now and was looking to
upgrade.
In 1.3.0 I had the ability to set a gateway after a task, but in the
current version it does no
When you do "cap deploy" it upload a new release and generate current
symlink(pointing to last release)?
What do you do to solve 500 error? If you get a 500 error in someplace
should be logged check it again
nnn wrote:
here is my nginx conf
server {
listen 80;
ser
wasserfloh wrote:
The current state is, that I have manually created a folder /home/oag/
oag-server/shared/cached-copy on my server - not via capistrano - that
contains the files of my app.
But it seems to me, that this is not the whole deployment job and
capistrano still fails on the command, I
nnn wrote:
I'm new to capistrano, everything is going to smooth, cap
deploy:setup, cap deploy:check deploy:cold.
my application work well.
but when I change my local code, even something like added new
added into something view file and run cap deploy, then open
browser, it always give me a 500 e
Hi wasserfloh,
The problem is about your git configuration. When capistrano
executes it in remote server:
/home/oag/oag-server/shared/cached-copy && git checkout -b deploy
aeba71d5b7ce45e24cdb2bf052260fbc235b3a66; fi"
servers: ["oag-server"]
Password:
[oag-server] executing command
Hi Justin,
I guess that you have correct thoughts about start and restart. Read
your config/deploy.rb and uncomment this tasks:
# If you are using Passenger mod_rails uncomment this:
# if you're still using the script/reapear helper you will need
# these http://github.com/rails/irs_process_
Jesse Armand wrote:
Hello,
I've been using Capistrano for a while, and I have to admit it's very
useful.
I have a question:
I know there's this "releases" directory to track the current and
previous releases of the deployed app. What I would like to know is,
is there a clean way to maintain thi
Josh Perfetto wrote:
Hi,
Just upgraded to 2.5.11 and it seems a few things broke with
deployments. deploy:migrate now attempts to execute the migration in
the oldest release directory (rather than the newest), and
deploy:cleanup deletes all but the oldest 5 directories, basically the
opposite of
Josh Perfetto wrote:
Hi,
Just upgraded to 2.5.11 and it seems a few things broke with
deployments. deploy:migrate now attempts to execute the migration in
the oldest release directory (rather than the newest), and
deploy:cleanup deletes all but the oldest 5 directories, basically the
opposite of
If have some applications that works with mongrel already. I use these
tasks:
namespace :deploy do
desc "Modified restart task to work with mongrel cluster"
task :restart, :roles => :app do
run "cd #{deploy_to}/current && mongrel_rails cluster::restart -C
#{deploy_to}/current/config/mong
antum wrote:
> Hi there,
>
> I'm trying to deploy a PHP application from SubVersion source control
> to a single server. The recipe hasn't changed and it used to work
> fine, but now it stops after doing a svn checkout and doesn't budge
> for hours until I press Cmd+C (I'm in Terminal, on a Mac)
>
Jamie wrote:
> I'm attempting my first deployment using Capistrano. The recipe
> includes
>
> set :user, "remote_user"
>
> When I attempt "cap deploy" I'm prompted for
>
> local_u...@myserver.com's password:
>
> Of course the local_user has no account on the remote server so I
> can't get
prakash saud wrote:
> hello, everybody
> Actually i am new to capistrano. I have installed ruby 1.8.6, Rails
> 2.3.4 and my OS is ubuntu . I have made a rails application. I went
> through the getting started and everything went fine upto check
> dependency. when i tried to install mongrel, it gi
I was reading the code and you can do it easily adding it to your deploy.rb:
default_environment["PATH"] =
"your_paths_separated_with_two_points:another_path:another_one"
Default environment overwrite PATH variable. I tested it with a simple task.
Another option is add your directory to th
prakash saud wrote:
> Actually, I am new to Capistrano. Currently i am using ruby version
> 1.8.6 and Capistrano version 2.5.9. I tried to test a file on local-
> host but i am getting error message like " connection failed for:
> http://localhost:3000 (Socket Error: getaddrinfo: Name or service no
Hi Thibaut,
In this moment capistrano can't do it out of the box but you can do
it with this patch:
https://capistrano.lighthouseapp.com/projects/8716-capistrano/tickets/91-capistrano-should-support-non-root-directories#ticket-91-12
Perhaps, in the next release :)
Thibaut Bar
Hi Patcoll,
I was trying to reproduce this behaviour in a simple task but I
cann't :-(
I tried with this task:
desc "Something to check it"
task :on_error_test, :on_error => :continue, :role => :app do
run "~/foobar.sh"
end
foobar.sh is a simple script(echo message), it's stored i
collimarco wrote:
> I have renamed shared/cached-copy into shared/cached-copy-old
>
> Then I have created a shared/cached-copy empty folder.
>
> Now I get "Not a git repository":
>
> http://pastie.org/672254.txt
>
You should delete it and not create other directory. This new directory
should b
HI - we did try setting those sshd config items in all our servers -
> to no avail.
>
> I did read of rumors of different versions of ruby (such as 1.8.6 and
> lower) not having this issue. Anyone have any knowledge of this?
>
> Mike
>
> On Oct 22, 2009, at 10:43 AM, Raf
> running migrations.
>
> Mike
>
> On Oct 22, 2009, at 1:07 AM, Rafael G. wrote:
>
>
>> Mike wrote:
>>
>>> We have a long running migration. After the migration finishes on one
>>> box, when Cap starts the next task, the other ssh connect
Mike wrote:
> We have a long running migration. After the migration finishes on one
> box, when Cap starts the next task, the other ssh connections to the
> other servers timeout and the deploy fails.
>
> I have read a number of items on the net and from this group regarding
> this issue. However,
Perhaps your mongrels are hanged then capistrano can't kill them.
If you stop them by hand, erase your pid file?
omnivore wrote:
> development machine: Capistrano v2.5.9, Rails 2.2.2, OS X Snow Leopard
> deployments machine: Capistrano v1.4.1, Rails 1.2.3, Solaris (Joyent)
> Accelerator
>
> I cha
Robin Bowes wrote:
> On 05/10/09 20:14, Rafael G. wrote:
>
>> An array to define servers and generate roles and task using their names. An
>> aproximation could be this code:
>>
>> ['external_dns_cache','tinydns'].each {|dns_name|
>>
An array to define servers and generate roles and task using their names. An
aproximation could be this code:
['external_dns_cache','tinydns'].each {|dns_name|
role dns_name.to_sym do
eval("enum_#{dns_name}")
end
task eval("enum_#{dns_name}"), :roles => [:puppet_masters] do
desc "
If I understood, only with add machineB to role :app should works:
role :app, "machineA", "machineB"
role :web, "machineA"
role :db, "machineA", :primary => true
namespace :deploy do
desc "Restarting nginx with god"
task :restart, :roles => :app, :except => { :no_release => true } do
I replied too fast the pdf file is missing but you will find a github
link with a graffle file.
Anyway I notified to lee about the pdf file.
Regards
Justin Holzer wrote:
> Is there any way, other than by doing a "dry run" (-n), to see what
> order tasks from the default "deploy" recipe will be ex
You can see it here:
http://www.capify.org/index.php/Default_Deployment_Path
Justin Holzer wrote:
> Is there any way, other than by doing a "dry run" (-n), to see what
> order tasks from the default "deploy" recipe will be executed in?
>
> >
>
>
--
Rafa
--~--~-~--~~---
I'm not sure, but I think that capistrano uses "sh" shell to execute
commands.
Could you try to execute a function from "sh"?
bash $ sh
sh $ my-function
Regards
Will Clark wrote:
> My functions are in /etc/bashrc.
>
> I am setting default_run_options[:pty] = true. I also tried moving the
Where're your functions? in .bashrc? If it's saved there this file is
not used with this option:
|default_run_options[:pty] = false|
Because capistrano uses a login shell and then load .bash_profile.
Perhaps it solves your problem:
|default_run_options[:pty] = true|
More info:
http://www.ca
Hi Richie,
I use the next layout:
RAILS_ROOT
\- config/deploy.rb
\- deploy/
- stages (production.rb, staging.rb,...) if needed
- common_tasks.rb
\- templates/
Then I have a
Do you have svn installed?
As said davidonlaptop yesterday:
I found out that the TortoiseSVN client I had installed does not
provide Capistrano with the command svn. So the fix is simply to
install the "CollabNet Subversion Client for Windows" from
http://www.collab.net/downloads/subversion/
Tr
>>> Hi David,
>>> I don't even know *how* to get an environment up on windows to try this, can
>>> you point me at anything, I want to improve on our windows support if I can.
>>>
>>> -- Lee Hambley
>>>
>>> Twitter:
davidonlaptop wrote:
> Hey I am unable to use Capistrano on Windows.
>
> This thread summarize the problem:
>
> http://railsforum.com/viewtopic.php?pid=107245#p107245
>
> Here's my output
>
> [code]
> * executing `deploy'
> * executing `deploy:update'
> ** transaction: start
> * executing `
+1
I agree.
Mathias Meyer wrote:
> On Sat, Aug 22, 2009 at 10:33 AM, Simone Carletti wrote:
>
>
> I talked about that with Lee, we agreed on making Passenger style
> deployment the new default, so we'd basically end up with something
> very lightweight and more uptodate with current deployment
Hi Cyrille,
Sorry for no reply before but theses days are holydays and the
people is gone :-) Could you open a ticket at
https://capistrano.lighthouseapp.com ? we'll see it.
Regards
Cyrille wrote:
> Sorry I got confused there: it has nothing to do with Capistrano 2.5.5
> vs 2.5.8.
>
> The
There's a patch for this problem that worked wonder for me at
https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368#ticket-79-33
check it and comment if it works, thanks
alexkwolfe wrote:
> Yes. That's exactly where it
How do you do the deploy? Current must be a symbolic link, not a directory.
ravenna wrote:
> roy-sherrills-macbook-pro:goodpress tjs$ cap production deploy
> * executing `production'
> triggering start callbacks for `deploy'
> * executing `multistage:ensure'
> * executing `deploy'
> *
Before I didn't understand you. Tomorrow I'll check your fix
The other patch worked for me but I want study it.
Billy wrote:
> Regarding the capistrano parallel server hanging issue (http://
> groups.google.com/group/capistrano/browse_thread/thread/
> da1174fd125fad0e), I think I may have found
There's a patch at
https://capistrano.lighthouseapp.com/projects/8716/tickets/79
I'll try it right now and tell you.
Billy wrote:
> Regarding the capistrano parallel server hanging issue (http://
> groups.google.com/group/capistrano/browse_thread/thread/
> da1174fd125fad0e), I think I may have f
o work with the Linux "yes" command.
>>
>> run 'yes "
>> " | sudo passenger-install-apache2-module'
>>
>> That does it.
>>
>> Never figured out the way capistrano can interact with prompts.
>> can somebody point
What is your ruby version?
Try to add this line to deploy.rb:
set :max_hosts, 1
If it works then the problem is the ruby version(again).
Third Replicator wrote:
> I'm using this code from
> http://pragmatig.wordpress.com/2008/10/10/capistrano-recipe-to-install-or-update-passenger/
>
> task
Yes, it likes an authentication problem:
rmossuk wrote:
> Enter passphrase for c:/Users/Rick/.ssh/id_rsa:
> [macclesfieldnutrition.co.uk] executing command
> ** [macclesfieldnutrition.co.uk :: out] Permission denied
> (publickey).
>
--
Rafa
--~--~-~--~~~---
Add into your deploy.rb this line:
ssh_options[:forward_agent] = false
Read at http://groups.google.com/group/capistrano/msg/655110abb008e990?pli=1
rmossuk wrote:
> hi all
>
> i get this error when trying to deploy my app to the server.
>
> Can anyone please help me as i cant find the answer an
What ruby version are you using?
See this ticket:
https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368#ticket-79-29
Will Clark wrote:
> When deploying to multiple app/web servers capistrano just hangs.
> However, if I
I believe that my previous solution don't works with multiples hosts. I
need sleep tomorrow see it again.
mshiltonj wrote:
> I have a set of tasks with a number of dependencies. There is a 'base'
> or 'common' task that is a dependency of many other tasks.
>
> There are other tasks that have mul
You can solve it with a variable "base_executed", the first time that
base task is executed this variable is set as true, the next time the
base task should be by passed.
Example:
task :base do
next if :base_executed
puts "BASE"
set :base_executed, true
end
task :recipe_one do
I use slackware and have this permissions:
drwxr-xr-x 6 root root 4,0K 07/01/09 07:32 www/
But I don't put my rails apps on /var/www/ I separate them by users,
then in the vhost I said where to find public directory (I use
passenger, but it's the same for mongrel).
Perhaps anyone that
those directories?
>
> Thanks!!!
>
>
>
>
>
> On Jul 8, 10:29 am, "Rafael G." wrote:
>
>> Hi cindy,
>>
>> You can solve it creating the files with your current user then do
>> a chown with sudo. Example:
>>
>&g
Hi cindy,
You can solve it creating the files with your current user then do
a chown with sudo. Example:
task :chown_file do
run "touch ~/file_foo.txt"
sudo "chown www-data:www-data file_foo.txt"
end
Bye!
cswebgrl wrote:
> I've got a related que
Can you try the same with other ruby version?[1]
[1]https://capistrano.lighthouseapp.com/projects/8716/tickets/79-capistrano-hangs-on-shell-command-for-many-computers-on-ruby-186-p368
Shumkov wrote:
> I think problem in deploing on two servers:
>
> role :app, '195.182', '195.182'
>
> macb
I hope that you need to fix the permissions in /var/www/corpsite/releases.
Joe McDonagh wrote:
> Hi Guys, I am trying to do a really simple website push process that
> doesn't involve rails or anything really, here is my deploy.rb:
>
> =
> set :applicatio
task :bootstrap, :roles => [:master] do
>> # instanceids is an array containing hostname => instanceid
>> id = instanceids["$CAPISTRANO:HOST$"]
>> run "register_host -H $CAPISTRANO:HOST$ -s #{id}"
>> end
>> Obviously, $CAPISTRANO:HOST$ d
n array containing hostname => instanceid
> id = instanceids["$CAPISTRANO:HOST$"]
> run "register_host -H $CAPISTRANO:HOST$ -s #{id}"
> end
>
> Obviously, $CAPISTRANO:HOST$ doesn't interpolate on the id =
> instanceids[] line.
>
> Thanks!
>
>
Gary Richardson wrote:
> Hey,
>
> Two part question that I haven't been able to answer:
>
> 1) can I get the current host a task is executing on? I've read some
> stuff about $CAPISTRANO:HOST$, but it doesn't seem to work for me
I tested this task and works for me:
task :host_name do
+1
The purpose of these tools is different, I think they're complementary
in system administrators field. I see Chef/puppet for configure machines
and capistrano to deploy applications.
Gaveen Prabhasara wrote:
> Will & Lee,
>
> There's a no doubt that Capistrano is a very useful tool. However
Hi anibal,
You can customize SCM command with the variable:
set :scm_command, '/home/foo/bin/bzr'
Regards
Aníbal Rojas wrote:
> Hello,
>
> This started as: http://bit.ly/sutXR a few days ago
>
> The problem I am facing is that environment variables are not
> being set for the pseudo
if they were in two
> repositories (if you are thinking of them as two separate pieces of
> code). Then app A) could treat app B) as submodule
>
> 2009/6/29 Rafael G. mailto:r...@aspgems.com>>
>
>
> I don't know git (I use it for basics things) but could you p
I don't know git (I use it for basics things) but could you put your
octave code as external in your rails app?
Joshua wrote:
> It resides as two subdirectories of a single git repository.
> E.g.,
> root/.git
> root/my-nifty-rails-app
> root/a-pile-of-octave-code-and-libraries
> root/a-bunch-of-
What happen if you add exit 0 to the script update-staging.sh?
Jamis Buck said some time ago for the question: get the return code from
"run"?
Not quite that easy, unfortunately, but you could do something like
this:
return_code = nil
run "something; echo return code: $?" do |channel,
If you read the mail from Jamis Buck on date 22-08-2007 with subject
"[Capistrano] Re: deploy:cold errors while deploy:check is fine", Jamis
said:
Looks like you've got an older version of subversion installed
locally. You need one recent enough that it allows the -r switch on
the info command.
mksys wrote:
> Probably nothing, but as I am having trouble getting it to all to
> work, I thought someone might have a good example as a starting point
> to go from...
>
Put your deploy.rb in gist (or similiar service like pastie) to see it,
we try to help you with it.
Regards
--
Rafa
--~
Neil wrote:
> I've an issue at the moment where we are running a CMS within a site
> (browsercms) that let's the user upload files. However, every time I
> do a deploy Capistrano runs a hard reset thus nuking any uploaded
> files.
>
> Does anyone have any suggestions as to how to prevent the hard
mzorova wrote:
> I am using the latest versions of capistrano (2.5.5), net-ssh (2.0.11)
> and net-ssh-gateway (1.0.1).. When I have more than ten operations as
> part of one command, via a gateway, the ssh operations stop with
> deadlocks.
>
> I noticed that the synchronous_connect was taken out -
liquid_rails wrote:
> Do Capistrano and Phusion's Passenger do the same thing?
>
>
No, Passenger(aka mod_rails) is an apache/nginx module to execute ror
applications. It simplify the deployment because you don't need to
configure a proxy between apache/nginx + mongrel (or the stack that you
1 - 100 of 169 matches
Mail list logo