lib/soloist/remote.rb in soloist-1.0.1 vs lib/soloist/remote.rb in soloist-1.0.2
- old
+ new
@@ -15,10 +15,10 @@
end
def initialize(user, host, key, options = {})
@user = user
@host = host
- @key = key
+ @key = File.expand_path(key)
@timeout = options[:timeout] || 10000
end
def backtick(command)
@stdout = ""