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
-~----------~----~----~----~------~----~------~--~---

Reply via email to