Note that there are some explanatory texts on larger screens.

plurals
  1. POConnection Failed when Deploying with Capistrano in Snow Leopard
    primarykey
    data
    text
    <p>I'm trying to deploy a PHP project using Capistrano. When I try to do a <code>cap deploy</code>, I get an error:</p> <pre><code>wes:/var/www/nipponpulse [svn:] → cap deploy * executing `deploy' ** transaction: start * executing `deploy:update_code' executing locally: "svn info https://newcitymedia.svn.beanstalkapp.com/nippon_pulse/expressionengine -rHEAD" /opt/local/bin/svn * executing "svn checkout -q -r94 https://newcitymedia.svn.beanstalkapp.com/nippon_pulse/expressionengine /var/www/nipponpulse/releases/20091117150904 &amp;&amp; (echo 94 &gt; /var/www/nipponpulse/releases/20091117150904/REVISION)" servers: ["192.168.2.42"] *** [deploy:update_code] rolling back * executing "rm -rf /var/www/nipponpulse/releases/20091117150904; true" servers: ["192.168.2.42"] ** [deploy:update_code] exception while rolling back: Capistrano::ConnectionError, connection failed for: 192.168.2.42 (NoMethodError: private method `split' called for 42:Fixnum) connection failed for: 192.168.2.42 (NoMethodError: private method `split' called for 42:Fixnum) </code></pre> <p>Here's the recipe I'm using <a href="http://pastie.textmate.org/private/7mix7xhbf3ozwjskwt5orq" rel="nofollow noreferrer">http://pastie.textmate.org/private/7mix7xhbf3ozwjskwt5orq</a>. I'm using Snow Leopard and here's my list of gems (using <code>sudo gem list --local</code>):</p> <pre><code>actionmailer (2.3.4, 2.2.2, 1.3.6) actionpack (2.3.4, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.4, 2.2.2, 1.15.6) activeresource (2.3.4, 2.2.2) activesupport (2.3.4, 2.2.2, 1.4.4) acts_as_ferret (0.4.4, 0.4.3) adamcooke-key-installer (1.1) capistrano (2.5.9, 2.5.2) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) defunkt-github (0.3.4) dnssd (1.3.1, 1.3, 0.6.0) fastthread (1.0.7, 1.0.1) fcgi (0.8.7) ferret (0.11.6) gem_plugin (0.2.3) highline (1.5.1, 1.5.0) hpricot (0.8.1, 0.6.164) json_pure (1.1.9) libxml-ruby (1.1.3, 1.1.2) mongrel (1.1.5) needle (1.3.0) net-scp (1.0.2, 1.0.1) net-sftp (2.0.2, 2.0.1, 1.1.1) net-ssh (2.0.15, 2.0.4, 1.1.4) net-ssh-gateway (1.0.1, 1.0.0) open4 (0.9.6) rack (1.0.1, 1.0.0) rails (2.3.4, 2.2.2, 1.2.6) rake (0.8.7, 0.8.3) RedCloth (4.2.2, 4.1.1) ruby-openid (2.1.7, 2.1.2) ruby-yadis (0.3.4) rubygems-update (1.3.5) rubynode (0.1.5) sqlite3-ruby (1.2.5, 1.2.4) termios (0.9.4) vlad (2.0.0) xmpp4r (0.5, 0.4) </code></pre> <p>When I run <code>ruby -v</code> I see this:</p> <pre><code>ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] </code></pre> <p>I'm not sure why it's failing. My experience with rails and ruby in general is slim to none, but I've used Capistrano in the past and it has worked on this machine. Is there something specific with Snow Leopard that I need to fix? </p> <p><strong>Edit:</strong> updated the error</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload