From 99876922bfcddc174c0e1af5faec9b9981948b6c Mon Sep 17 00:00:00 2001 From: Bryan Date: Wed, 11 Dec 2013 02:14:15 -0500 Subject: [PATCH] Ruby does not like tilde for home directory. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 9cbf0be..f64610f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,7 +15,7 @@ VAGRANTFILE_API_VERSION = "2" # Copy the vagrant SSH key into the VM so vagrant can SSH to localhost within # the VM. Continued in the shell script below. # http://serverfault.com/questions/491343/how-can-i-move-my-deploy-key-into-vagrant#comment549259_491345 -git_ssh_key = File.read('~/.vagrant.d/insecure_private_key'); +git_ssh_key = File.read(ENV['HOME'] + '/.vagrant.d/insecure_private_key'); # build a shell script that installs prereqs, configures the database, sets up # the user/group associations, pulls in the code from the host machine, sets up -- 2.25.1