[capistrano-mailing-list] Capistrano 3 with Rails 4 cloning CloudForge repo into app-name directory in the release directory so bundle install won't work

2014-04-18 Thread Matt Thompson
/app.com/current. Now when Cap tries to bundle it can't find the Gemfile because its not looking one directory deeper into the current symlink. Is this a CloudForge issue or Net-SSH or how do I fix this? Can't find anything I can set to tell Cap where to look. Thanks Matt -- You received

[capistrano-mailing-list] Running tests fails with vagrant error message

2014-01-01 Thread Matt Connolly
-darwin13.0.0] rake: rake, version 10.1.1 vagrant: Vagrant 1.4.2 os: Darwin MattbookPro.local 13.0.2 Darwin Kernel Version 13.0.2: Sun Sep 29 19:38:57 PDT 2013; root:xnu-2422.75.4~1/RELEASE_X86_64 x86_64 Thanks Matt -- You received this message because you are subscribed to the Google Groups

[capistrano-mailing-list] Non-mapped commands are not processed including `within`, `with`

2014-01-01 Thread Matt Connolly
Hi, I have an example using SSHKit: # ssh-kit-test.rb: require 'sshkit' require 'sshkit/dsl' on 'example.com', user: 'matt' do within('current') do puts this works as expected: puts capture :ls puts this does not get executed in the 'current' directory: puts capture 'ls -l

[capistrano-mailing-list] Non-mapped commands don't get executed wrapped in within() and with()

2014-01-01 Thread Matt Connolly
I have an example script here: https://gist.github.com/mattconnolly/8212674 I can see in the code that it is bypassing all of the `with`, `within`, `user` etc conversions when the command has a space in it. I would have expected that commands that are not mapped would have the same treatments

Re: [capistrano] Why doesn't `deploy` run migrations?

2012-01-05 Thread Matt Rogish
and look forward to seeing what you create! Thanks, -- Matt On Tuesday, January 3, 2012 at 3:58 PM, Lee Hambley wrote: Matt, Certainly, continuous deployment is a luxury few of us are afforded, I've mostly worked at places where the deploy is weekly, and that's as agile as we can

[capistrano] Why doesn't `deploy` run migrations?

2012-01-03 Thread Matt
if there's a way to disable migration running on moonshine? In any rate, it seems like it would best be done the other way around - `cap deploy` does migrations, too, and `cap deploy:nomigrations` does what it says. Is there something I'm missing? Thanks, -- Matt -- * You received this message

Re: [capistrano] Why doesn't `deploy` run migrations?

2012-01-03 Thread Matt Rogish
of people out there doing different deploy methods and I failed to take that into account. Thanks, -- Matt On Tuesday, January 3, 2012 at 11:56 AM, Donovan Bray wrote: Because if you want to deploy with migrations there's a task for that deploy:migrations That gives you the ability

[capistrano] Re: Run all tasks in namespace?

2011-10-06 Thread Matt L
I wrote a lovely missive about what I was doing by accidentally mailed it directly to Lee. Dang it. I actually do not want to run it serially, but functionally it doesn't really matter if I do for this task. It would be nice to know how to do this. It all really boils down to the problem of

[capistrano] Quote escaping hell

2011-10-06 Thread Matt L
I am trying to use the 'run' directive in cap and having a devil of a time dealing with nested single and double quotes. I come from the world of Perl so I cannot fathom how similar formatting can be achieved in Ruby. Here is what I am doing: My first example works as the command is not riddled

[capistrano] Run all tasks in namespace?

2011-10-03 Thread Matt L
I am trying to make a task that executes all tasks in a namespace. Because the tasks will be defined at execution by an array that changes, I need to make this work so that I can call each task of the namespace dynamically. This is what I mean: http://pastie.org/2634167 ... but there is not

[capistrano] deploy:cleanup stops after first server has no releases to clear

2011-09-29 Thread Matt L
The behavior of the deploy:cleaup task appears to be that when given a list of servers, at the first server it encounters with nothing to clean up it stops without checking the rest of the servers on the list. Why is this and is there a workaround to force it to check all servers that are supplied

[capistrano] Detect Failed Deploy

2011-09-06 Thread Matt
is called when stuff is rolled-back. Is there a global rollback task I can hook into, or some other way to detect when a deploy fails? I'd like to do it within cap and not outside... Thanks, -- Matt -- * You received this message because you are subscribed to the Google Groups Capistrano group

Re: [capistrano] What happened to Capify.com?

2010-07-02 Thread Matt Davies
Good luck fellas On 2 July 2010 19:10, Lee Hambley lee.hamb...@gmail.com wrote: Matt, Not sure - I know Jamis still controls the DNS, and he points it at a VPS box that I run… can't tell you anything more than that… Reverse DNS on the i...@zenom reported does still point to my ISP… I'll

[capistrano] Re: from the beginning doc

2009-09-30 Thread Matt Davies
Brent, which bit in particular did you want? Was it the order of the commands you use to setup the remote system right at the start? 2009/9/30 sbfaulkner bre...@unwwwired.net: oh well, I guess it's gone then, 'cause that's not it. On Sep 30, 3:01 pm, Lee Hambley lee.hamb...@gmail.com

[capistrano] Re: from the beginning doc

2009-09-30 Thread Matt Davies
Brent, I'm with you brother. I also missed the doc when it went, but after looking through the new docs, and using cap -T, I managed to muscle my way through it, and learned a bit about it on the way. Reckon you and I can rewrite the steps? I'm sure there's people on here will put us right if

[capistrano] Re: Deploying to a cloned server

2009-09-24 Thread Matt Davies
Thanks Rafa That does make a hell of a lot more sense V 2009/9/24 Rafael G. r...@aspgems.com: 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

[capistrano] Re: help! capistrano not creating 'current' directory

2009-06-29 Thread Matt Davies
I had a similar sort of problem but it turned out that I hadn't run the cap deploy:setup properly. Don't ask me how 2009/6/29 Lee Hambley lee.hamb...@gmail.com: Josh, Did you recently start using git? I suspect the tmp/ directory doesn't exist... Git won't track empty directories. - Lee

[Capistrano] Re: Help with custom task (moving contents of current)

2009-03-05 Thread matt mitchell
Interesting. I'll definitely consider that. The solution I just came up with involves using: grep -v www I'm curious about why you're strongly recommending against using the defaults? There must be something bigger I'm not thinking about... Matt On Mar 5, 2:36 pm, Jamis Buck ja

[Capistrano] Unable to resolve revision for branch problem

2009-02-24 Thread Matt
OK, I've suddenly started to get this error when attempting to deploy a branch, and after a little investigation, I have found that the query_revision function in git.rb is attempting to compare a string (the branch name) with a symbol (the branch name as a symbol) on this line: if

[Capistrano] Re: SSH timeouts and reset connections

2008-07-16 Thread matt
Cool, thanks Jamis, that worked perfectly. I wonder if this is something that should be worked around in core capistrano since I'd imagine long running migrations would also cause this problem (for those with short tcp tmeouts anyway) Matt

[Capistrano] Re: SSH timeouts and reset connections

2008-07-14 Thread matt
on using this as a keep-alive mechanism on the client side? Matt On Jul 14, 10:53 pm, matt [EMAIL PROTECTED] wrote: Nope, ClientAliveInterval 15 ClientAliveCountMax 15 gives the following stack trace every time in the same place (when it tries to restart the 3rd of 3 app server instances

[Capistrano] following dependencies failed

2008-07-09 Thread Matt McF
I am trying to deploy a site using capistrano with git. I can do the cap deploy:setup, that works OK. Then I invoke a cap deploy:check, which at the very end says the following: The following dependencies failed. Please check them and try again: -- `/home/entouchd/git' could not be found in

[Capistrano] SSH timeouts and reset connections

2008-07-08 Thread matt
/execute.rb:14:in `execute' from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.4.0/bin/cap:4 from /usr/local/bin/cap:19:in `load' from /usr/local/bin/cap:19 Any help appreciated, thanks, Matt --~--~-~--~~~---~--~~ To unsubscribe from this group

[Capistrano] Re: SSH timeouts and reset connections

2008-07-08 Thread matt
no longer alive. Matt --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Moved rubber to github

2008-06-04 Thread matt
I recently moved my rubber deployment plugin to github. For those new to rubber, it enables relatively complex multi-instance deployments of rails apps to Amazon’s Elastic Compute Cloud (EC2). See the wiki page on github for more details. http://github.com/wr0ngway/rubber/wikis

[Capistrano] Re: cannot reference stage in multistage deploy

2008-04-19 Thread Matt R
I'm getting this error as well. If I modify the lines that use #{stage} (so they don't error out) and plug in the task :show_stage, the correct stage is spit out. It's only when I'm using them in string eval set(:bar) {#{stage}} that they are not coming thru. # each of the deploy/#{stage}.rb

[Capistrano] Re: cannot reference stage in multistage deploy

2008-04-19 Thread Matt R
# is bumped up a bit! ;)) Thanks for your help and making such a great tool! -- Matt On Apr 19, 11:53 pm, Jamis Buck [EMAIL PROTECTED] wrote: Ah, yeah. That'll fail, because when the variable is evaluated, the   multistage code has not yet been loaded. Be sure to load the   multistage extension

[Capistrano] Re: cannot reference stage in multistage deploy

2008-04-19 Thread Matt R
FYI: gem list --local | grep cap capistrano (2.2.0, 2.1.0, 2.0.0, 1.4.1) capistrano-ext (1.2.0) and cap -V gives 2.2.0 On Apr 19, 11:59 pm, Matt R [EMAIL PROTECTED] wrote: I modified the file to look like: set :stages, %w(dev staging production) set :default_stage, 'dev' require

[Capistrano] Re: cannot reference stage in multistage deploy

2008-04-19 Thread Matt R
Jamis, That did it for me!! Thanks for your help, would've never thought of that (I kinda wondered how current_path was being eval'd, but never put 2 and 2 together). Thanks again, -- Matt On Apr 20, 12:31 am, Jamis Buck [EMAIL PROTECTED] wrote: Yeah, I see what's going on now. Unfortunately

[Capistrano] Re: Dynamic (lazy) Roles

2008-01-31 Thread matt
they belong to. The README for the project is at: http://rubber.rubyforge.org/svn/trunk/README It should be trivial to demo it using the steps outlined therein - if not, then I broke something, so please let me know :) Matt On Jan 11, 3:29 pm, David Masover [EMAIL PROTECTED] wrote: Working on a way

[Capistrano] New plugin for deploying rails apps to EC2

2008-01-28 Thread matt
feedback appreciated, but check the TODO first :) Matt Conway http://simplygenius.com --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: running different commands on each host?

2008-01-22 Thread matt
', 'host2']) do run echo hi end end Hope this helps, Matt On Jan 19, 3:55 pm, Dick Davies [EMAIL PROTECTED] wrote: Hi all I finally took the time to try out capistrano yesterday - been meaning to since it was switchtow*r -  and I really wish I'd tried it years ago :) It'll be really handy

[Capistrano] Deploy/rollback to staging then production

2007-09-19 Thread Matt Law
for the heap of questions. I just need prodding in the right direction :-) TIA, Matt. --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Roles not honored when restricting server list

2007-09-12 Thread matt
If I execute something like: ROLES=web HOSTS=web01 cap deploy:start the start_search task gets executed even though it is tied to the :search role. This doesn't happen if I don't restrict the scope using ROLES/HOSTS. Any workarounds known for this? The relevant parts of my deploy.rb are:

[Capistrano] Re: Roles not honored when restricting server list

2007-09-12 Thread matt
on a machine they weren't intended for. Matt On Sep 12, 4:32 pm, Jamis Buck [EMAIL PROTECTED] wrote: Oh, I see what you were saying. Yes, specifying ROLES or HOSTS as environment variables will override the restrictions for all tasks that get executed, not merely the top-level task. - Jamis

[Capistrano] Re: Cap 2.0 file upload problem

2007-07-26 Thread matt
all remote commands through taskset, but I don't know the cap internals well enough to try this myself. http://blog.mecworks.com/articles/2007/02/13/cpu-affinity-how-to-work-around-broken-ssh-on-smp-machines-using-taskset/ Matt

[Capistrano] Tasks for Solr

2007-07-02 Thread Matt M.
! Matt --~--~-~--~~~---~--~~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~--~~~~--~~--~--~---

[Capistrano] Re: Override the Shell run method

2007-06-27 Thread Matt M.
Hey thanks Jamis, unfortunately that doesn't seem to work. What do you recommend I do if I don't want the username and password to appear when the command gets executed? Matt On 6/27/07, Jamis Buck [EMAIL PROTECTED] wrote: You can do something like require 'capistrano/shell' class

[Capistrano] Re: Override the Shell run method

2007-06-27 Thread Matt M.
/releases/20070627152315 (echo 1168 /usr/local/projects/project-x/releases/20070627152315/REVISION) servers: [some-domain.com] [some-domain.com] executing command Matt On 6/27/07, Jamis Buck [EMAIL PROTECTED] wrote: Perhaps I'm misunderstanding how you are using this. Are you using cap

[Capistrano] Re: Override the Shell run method

2007-06-27 Thread Matt M.
= message.gsub(/--password (\S+)/, --password filtered) previous_log_method level, message, line_prefix end end Matt On 6/27/07, Jamis Buck [EMAIL PROTECTED] wrote: Ah, ok. You're not using the cap shell, then. Capistrano::Shell is used _only_ for the cap shell task, when you are starting

[Capistrano] Capfile

2007-06-27 Thread Matt M.
Hi, I'm using Capistrano for non-Rails deployment. I'd like to be able to use just the Capfile and not config/deploy.rb. The problem is that Capfile doesn't have an extension so text editors don't recognize it as Ruby. Would it be possible to get it so Capistrano also loads a Capfile.rb? Matt