bin/rye in rye-0.5.4 vs bin/rye in rye-0.6.0
- old
+ new
@@ -46,11 +46,11 @@
obj.argv.each do |hostname|
puts "Authorizing #{rbox.opts[:user]}@#{hostname}"
rbox = Rye::Box.new(hostname, opts).connect
- puts "Added public keys for: ", rbox.authorize_keys
+ puts "Added public keys for: ", rbox.authorize_keys_remote
puts "Now try: " << "ssh #{rbox.opts[:user]}@#{hostname}"
end
end
@@ -116,11 +116,9 @@
begin
Drydock.run!(ARGV, STDIN) if Drydock.run? && !Drydock.has_run?
rescue Drydock::ArgError, Drydock::OptError=> ex
STDERR.puts ex.message
STDERR.puts ex.usage
-rescue Rudy::Error => ex
- STDERR.puts ex.message
rescue => ex
STDERR.puts "ERROR (#{ex.class.to_s}): #{ex.message}"
STDERR.puts ex.backtrace if Drydock.debug?
rescue Interrupt
puts "#{$/}Exiting... "