From ba64c28304c6087baaaaba94f78f56c5656f2312 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 22 Jun 2012 21:06:49 -0700 Subject: [PATCH] Convert the path to a string because it may be a Pathname --- lib/vagrant/communication/ssh.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/communication/ssh.rb b/lib/vagrant/communication/ssh.rb index 92d6e5a32..07bea992f 100644 --- a/lib/vagrant/communication/ssh.rb +++ b/lib/vagrant/communication/ssh.rb @@ -93,7 +93,7 @@ module Vagrant # Otherwise, it is a permission denied, so let's raise a proper # exception - raise Errors::SCPPermissionDenied, :path => from + raise Errors::SCPPermissionDenied, :path => from.to_s end protected