From: Bryan Date: Wed, 11 Dec 2013 07:14:15 +0000 (-0500) Subject: Ruby does not like tilde for home directory. X-Git-Tag: release-20150131~386^2~18 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=99876922bfcddc174c0e1af5faec9b9981948b6c;p=oweals%2Fkarmaworld.git Ruby does not like tilde for home directory. --- 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