Alright, good news to report: I found the bug, but haven't quite found a fix. I did find a workaround though, so I can continue to deploy.
It turns out that there is a bug in Net::SSH 2.0 that causes this error. The bug is located in known-hosts.rb: next if (hostlist.split(/,/) & hosts).empty? I don't know exactly what caused this to blow up, but clearing my known_hosts made the problem go away. If I get a chance I'll try to determine exactly what in this file caused the breakage. Thanks for all your advice, I'm glad I finally got this fixed. Cameron On Sep 8, 12:00 pm, Cameron <[EMAIL PROTECTED]> wrote: > Mike, > > Thanks for the advice. I tried your suggestions and still had no luck. > > I also tried to capify a new project and deploy it, and go the same > error. This makes me believe it is unrelated to my configuration. > > Cameron > > On Sep 6, 8:12 pm, Hardbap <[EMAIL PROTECTED]> wrote: > > > I ran into the "private method `split' called for nil:NilClass > > (NoMethodError)" when deploying from a Windows XP dev machine to a > > *nix server using fcgi. > > > The problem was that the files public/dispatch.* and the files in > > script/process did not have the execute bit set. To fix I had to use > > "svn propset svn:excutable" on the files. > > > It could I also be a file permissions thing. Try adding this to your > > deploy.rb: > > > set :chmod755, "app config db lib public vendor script script/* public/ > > disp*" > > > Good luck. > > Mike > > > On 6 Sep, 16:54, Cameron <[EMAIL PROTECTED]> wrote: > > > > Anyone else running into this? I can't seem to get around it. > > > > Cameron > > > > On Sep 3, 11:58 am, Cameron <[EMAIL PROTECTED]> wrote: > > > > > Jamis, > > > > > I am running net-ssh 1.1.2 > > > > > Cameorn > > > > > On 3 Sep, 11:49, "Jamis Buck" <[EMAIL PROTECTED]> wrote: > > > > > > Cameron, > > > > > > What version of Net::SSH do you have installed? > > > > > > - Jamis > > > > > > On 9/3/07, Cameron <[EMAIL PROTECTED]> wrote: > > > > > > > Hello all, > > > > > > > I am having trouble with deployment. I had previously had Capistrano > > > > > > 2.0 set up and deploying properly, but hadn't used it in a couple > > > > > > weeks. Today I tried to deploy and got this: > > > > > > > precious:~/Code/____/trunk cameron$ cap deploy:check > > > > > > [DEPRECATION] Capistrano.configuration is deprecated. Use > > > > > > Capistrano::Configuration.instance instead > > > > > > * executing `deploy:check' > > > > > > * executing "test -d /usr/local/www/____/releases" > > > > > > servers: ["____.com"] > > > > > > connection failed for: ____.com (NoMethodError: private method > > > > > > `split' > > > > > > called for nil:NilClass) > > > > > > > (I've removed the url because its not public yet) > > > > > > > I can't seem to figure out what is going on, I've looked at all the > > > > > > usage ofsplitin the Capistrano code and can't find a case where this > > > > > > is happening. > > > > > > > Any ideas? > > > > > > > Thanks, > > > > > > Cameron --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
