I installed rosh with the command in the subject. Trying to use it, I have this error:
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': /var/lib/gems/1.8/gems/rosh-0.5.0/bin/../lib/rosh.rb:19: syntax error, unexpected ',', expecting kEND (SyntaxError)
@host, @name = *args, :default
^
/var/lib/gems/1.8/gems/rosh-0.5.0/bin/../lib/rosh.rb:33: syntax error, unexpected ',', expecting ']'
reconnect until system ["ssh", *@ssh_opts, resolv,
^
/var/lib/gems/1.8/gems/rosh-0.5.0/bin/../lib/rosh.rb:34: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
'-t', "'screen -rx #{@name}'", '2>/dev/null']*' '
^
/var/lib/gems/1.8/gems/rosh-0.5.0/bin/../lib/rosh.rb:34: syntax error, unexpected ',', expecting kEND
'-t', "'screen -rx #{@name}'", '2>/dev/null']*' '
^
/var/lib/gems/1.8/gems/rosh-0.5.0/bin/../lib/rosh.rb:34: syntax error, unexpected ']', expecting kEND
'-t', "'screen -rx #{@name}'", '2>/dev/null']*' '
^
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/rosh-0.5.0/bin/rosh:2
from /usr/local/bin/rosh:19:in `load'
from /usr/local/bin/rosh:19
I installed rosh with the command in the subject. Trying to use it, I have this error: