lib/kapify/base.rb in kapify-0.0.15 vs lib/kapify/base.rb in kapify-0.0.16

- old
+ new

@@ -20,10 +20,11 @@ end end def run_interactively(command, server=nil) server ||= find_servers_for_task(current_task).first - exec %Q(ssh #{user}@#{server.host} -p #{port} -t '#{command}') + ssh_port = server.port || port + exec %Q(ssh #{user}@#{server.host} -p #{ssh_port} -t '#{command}') end set_default(:templates_path, "#{Dir.pwd}/config/deploy/templates") def template(from, to)