Hi Jamis,

   I have a capistrano recipe to push files on a set of servers using
the following cap task:

    execute_on_servers( {} ) do |servers|
      servers.each do |server|
        logger.info "Pushing file #{dump_file} to #{server} --
#{destination_dir}"
        `rsync -avz --delete #{zip_file}
[EMAIL PROTECTED]:#{destination_dir}`
      end

   This works most of the time. However once in a while I am getting
the following error:

connection failed for: x.x.x.x (NoMethodError: undefined method
`register_services' for Net::SSH::Service::Process:Module)

    I am using Cap 2.1.0 and net-ssh 1.1.2

    Do you have any suggestions on how to fix this ?

Thanks,
Fernand
--~--~---------~--~----~------------~-------~--~----~
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