Ubuntu 7.04 - capistrano (1.4.1) - deprec (1.7.0) - termios (0.9.4)
1) Error:
$ cap setup_ssh_keys
* executing task setup_ssh_keys
* executing "sudo test -d ~/.ssh || mkdir ~/.ssh"
servers: ["208.75.87.16"]
Password:
[208.75.87.16] executing command
command finished
* executing "sudo chmod 0700 ~/.ssh"
servers: ["208.75.87.16"]
[208.75.87.16] executing command
command finished
/usr/lib/ruby/gems/1.8/gems/deprec-1.7.0/lib/deprec/recipes/ssh.rb:8: undefined method `collect' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/actor.rb:159:in `setup_ssh_keys'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `send'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `execute_recipes!'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `each'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:268:in `execute_recipes!'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:239:in `execute!'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/lib/capistrano/cli.rb:12:in `execute!'
from /usr/lib/ruby/gems/1.8/gems/capistrano-1.4.1/bin/cap:11
from /usr/bin/cap:16:in `load'
from /usr/bin/cap:16
2) I've seen that is necessary that the remote system have the same user as of our local system. Then, why 'setup_admin_account_as_root' doesn't create the remote user with the name of local user?