[Capistrano] Re: uploading only certain directories to an asset host

2008-05-28 Thread carpeliam
Just for posterity, a little bit more googling turned up this link which satisfied me. http://www.commonmediainc.com/2008/04/09/rails-asset-hosts-scm-and-bundling/ Liam On May 27, 2:29 pm, carpeliam [EMAIL PROTECTED] wrote: I deploy to rails, and I have config.action_controller.asset_host

[Capistrano] Capistrano | Google Groups

2008-05-28 Thread Rich Morin
I'm having trouble getting a solo Capistrano app (as discussed in Deploying Rails Applications) to work. I'm hoping someone on this list can give me a hand. My impression is that the SSH login is failing, because of some authorization issue, but I've tried setting assorted variables with no

[Capistrano] SSL - no accept (p)ermanently option :(

2008-05-28 Thread Liam Morley
I'm guessing that our sys admin is just using a bum certificate or something, but in any case, when I try to use our svn repo which is on a secure server, i get the following: [err] Error validating server certificate for 'https://blah:443': - The certificate is not issued by a trusted

[Capistrano] Re: SSL - no accept (p)ermanently option :(

2008-05-28 Thread Ezra Zygmuntowicz
Hey~ On May 27, 2008, at 11:16 PM, Liam Morley wrote: I'm guessing that our sys admin is just using a bum certificate or something, but in any case, when I try to use our svn repo which is on a secure server, i get the following: [err] Error validating server certificate for

[Capistrano] Re: SSL - no accept (p)ermanently option :(

2008-05-28 Thread Liam Morley
Thanks very much Ezra for the reply. That /almost/ worked. The problem is, I'm on a Windows box :( and that makes everything more difficult. I do have a cygwin copy of svn and cygwin is in my path, so after executing 'svn co' on the cmd line, I can successfully add the key permanently, but I don't

[Capistrano] Re: SSL - no accept (p)ermanently option :(

2008-05-28 Thread Ezra Zygmuntowicz
On May 27, 2008, at 11:45 PM, Liam Morley wrote: Thanks very much Ezra for the reply. That /almost/ worked. The problem is, I'm on a Windows box :( and that makes everything more difficult. I do have a cygwin copy of svn and cygwin is in my path, so after executing 'svn co' on the cmd

[Capistrano] Re: Capistrano | Google Groups

2008-05-28 Thread Ezra Zygmuntowicz
On May 27, 2008, at 11:03 PM, Rich Morin wrote: I'm having trouble getting a solo Capistrano app (as discussed in Deploying Rails Applications) to work. I'm hoping someone on this list can give me a hand. My impression is that the SSH login is failing, because of some authorization

[Capistrano] Unable to run with jruby on ubuntu 8.04 (stty: standard input: Invalid argument)

2008-05-28 Thread Polydectes
I just installed the latest jruby (1.1.1+) with the latest rails, mongrel, mongrel_cluster, capistrano, etc... gems. Although I can run capify on my project without trouble, when I run cap -T I receive the following: stty: standard input: Invalid argument

[Capistrano] problem * `executing deploy:restart'

2008-05-28 Thread john
Hi, I have a rails on ubuntu deployment stack which consists of: locally: cap 2.3.0 and all latest deps server side: apache 2.3, mongrel_cluster, mod_proxy and git on the same host. I am connecting via ssh with agent and pass phrase. All is good until my first deploy:restart task. I have

[Capistrano] Re: Capistrano | Google Groups

2008-05-28 Thread Henry Addison (Texperts)
Hi Rich, This looks the error I got when I first moved to Capistrano 2.3 from 2.1 (in particular when I moved from Net::SSH 1.1.2 to 2.0.1). This had me tearing my hair out for a while because it was working on our production servers but not for the test setup on my local machine, but a

[Capistrano] Re: Capistrano | Google Groups

2008-05-28 Thread Jamis Buck
Wow, I didn't even realize the .ssh/config supported equals signs. The docs for ssh_config don't indicate that. If anyone wants to submit a patch to support the equals-delimited entries, I'd apply it. - Jamis On May 28, 2008, at 3:21 AM, Henry Addison (Texperts) wrote: Hi Rich, This

[Capistrano] Re: Unable to run with jruby on ubuntu 8.04 (stty: standard input: Invalid argument)

2008-05-28 Thread Jamis Buck
JRuby doesn't run Net::SSH, and therefore won't run Capistrano. It's a limitation of JRuby, not a bug in Net::SSH or Capistrano, so if you want to use cap with jruby, it's something you'll need to take up with the JRuby folks. - Jamis On May 28, 2008, at 1:26 AM, Polydectes wrote: I

[Capistrano] Re: cap deploy:restart and cap deploy:stop Can't find any pid file

2008-05-28 Thread Jamis Buck
When using the mongrel-cluster stuff, you'll need to override the deploy:restart (and probably deploy:start and deploy:stop) tasks. The default implementations use the script/process/reaper script, which doesn't fit with the default assumptions of mongrel-cluster. You might try searching

[Capistrano] Re: stty error running capistrano via cron

2008-05-28 Thread Jamis Buck
The authentication failed for 'not-specified' is saying that the user it is trying to authenticate is 'not-specified' (that's the default user name capistrano uses if it can't otherwise infer the user name). You will probably need to set the :user variable to the user you want capistrano

[Capistrano] Re: cap deploy:restart and cap deploy:stop Can't find any pid file

2008-05-28 Thread john
Hi Brent, check out my deploy.rb to get an idea of how to set up for mongrel cluster and apache on linux: http://pastie.caboo.se/204609 I think most people use the mongrel_cluster/recipes included as part of the mongrel_cluster gem instead of the default capistrano tasks, regards, John On May

[Capistrano] Re: Excluding the .git directory

2008-05-28 Thread Mirko
So I have tried deploying with the following settings: set :scm, :git set :deploy_via, :copy set :copy_cache, true set :copy_exclude, %w(.git) set :git_shallow_clone, 1 However, I am getting the following error message during the deploy: * refreshing local cache to revision

[Capistrano] Re: Excluding the .git directory

2008-05-28 Thread Jamis Buck
Yeah, it's a bug in cap 2.3's git module -- it shouldn't be doing git fetch --tags. It's been fixed, and I'll release an update tonight or tomorrow (time permitting). - Jamis On May 28, 2008, at 11:56 AM, Mirko wrote: So I have tried deploying with the following settings: set :scm, :git

[Capistrano] capistrano 2.3.0 and mongrel_cluster-1.0.5, is it possible?

2008-05-28 Thread john
Hi Guys, has anyone actually made a successful rails capistrano deployment stack using: ubuntu linux, apache 2.2, mongrel_cluster-1.0.5, mod_proxy, cap 2.3.0 and its deps, git and ssh key based login with agent. I have the web server stuff playing nicely, the config files being created and

[Capistrano] Re: SSL - no accept (p)ermanently option :(

2008-05-28 Thread David Masover
On Wed, May 28, 2008 at 1:45 AM, Liam Morley [EMAIL PROTECTED] wrote: I do have a cygwin copy of svn and cygwin is in my path, so after executing 'svn co' on the cmd line, I can successfully add the key permanently, but I don't think that setting makes it outside of cygwin. There is a native

[Capistrano] Re: Excluding the .git directory

2008-05-28 Thread Mirko
Sounds great, thanks for the update. -Mirko On 28 May, 11:16, Jamis Buck [EMAIL PROTECTED] wrote: Yeah, it's a bug in cap 2.3's git module -- it shouldn't be doing git   fetch --tags. It's been fixed, and I'll release an update tonight or   tomorrow (time permitting). - Jamis On May 28,

[Capistrano] Trouble deploying after migrating to git

2008-05-28 Thread gobigdave
After some testing with git, I decided to move my project from svn to git. Unfortunately, I can't get it to deploy. I've been googling around for a while without any luck. In deploy.rb, I have: set :scm, git set :repository, [EMAIL PROTECTED] set :branch, master set :deploy_via, :remote_cache