From 8944e4c077a8d477cbc2708ae5563d949fcbaccb Mon Sep 17 00:00:00 2001
From: Nat Welch <nat@natwelch.com>
Date: Tue, 12 Mar 2013 14:34:20 -0700
Subject: [PATCH] load file appropriately.

---
 lib/fog/google/compute.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/fog/google/compute.rb b/lib/fog/google/compute.rb
index faa46aaad..5f38b3486 100644
--- a/lib/fog/google/compute.rb
+++ b/lib/fog/google/compute.rb
@@ -74,7 +74,7 @@ module Fog
           @project = options[:google_project]
           google_client_email = options[:google_client_email]
           @api_url = base_url + api_version + '/projects/'
-          key = ::Google::APIClient::KeyUtils.load_from_pkcs12(options[:google_key_location], 'notasecret')
+          key = ::Google::APIClient::KeyUtils.load_from_pkcs12(File.expand_path(options[:google_key_location]), 'notasecret')
 
           @client = ::Google::APIClient.new
           @client.authorization = Signet::OAuth2::Client.new(