This error was posted before but the solution of going to capistrano
2.5.5 did not work for me.

I am getting this error and I've tried several different recipes.  It
appears to be a problem connecting to my host server.  Right now I am
running on OS X10.6.1 with capistrano 2.5.10 and net-ssh 2.0.17.  I
have a very simple script setup that will just restart since I'm using
passenger on HostingRails.com.  Where I try a cap deploy:setup,
restart or just deploy, I get the same error.  I am using unfuddle as
my repository but also tried github with the same results.  I am able
to ssh from my local machine into the host server.  I have tried
several SSH option.  Any help would be appreciated.

Thanks,

Memo

ERROR
*************
iMac:/Users/Memo/Rails-Projects/cidermill> cap deploy:restart
  * executing `deploy:restart'
  * executing "touch /home/cidermi/apps/cidermill/current/tmp/
restart.txt"
    servers: ["magnus.server0571.info"]
connection failed for: magnus.server0571.info (NoMethodError: private
method `split' called for 4:Fixnum)

CAPFILE
**************
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }

load 'config/deploy' # remove this line to skip loading any of the
default tasks

namespace :deploy do
   task :restart do
     run "touch #{current_path}/tmp/restart.txt"
  end
end


DEPLOY.RB
***************
#
=============================================================================
# REQUIRED VARIABLES
#
=============================================================================
set :application, "cidermill"
set :user, "cidermi"
set :domain, "magnus.server0571.info"
#set :domain, "cidermillmarket.com"
set :use_sudo, false

#
=============================================================================
# ROLES
#
=============================================================================
role :web, domain                                          # Your HTTP
server, Apache/etc
role :app, domain                                          # This may
be the same as your `Web` server
role :db,  domain, :primary => true                        # This is
where Rails migrations will run

#
=============================================================================
# SSH OPTIONS
#
=============================================================================
ssh_options[:keys] = %w(~/.ssh/id_rsa)
set :ssh_options, { :forward_agent => true }

#
=============================================================================
# REPOSITORY VARIABLES
#
=============================================================================
set :repository,  "[email protected]:memobuelna/
cidermill.git"
set :scm, "git"
set :branch, "master"
set :deploy_to, "/home/#{user}/apps/#{application}"
set :deploy_via, :remote_cache

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to