Skip to content

Instantly share code, notes, and snippets.

@clone1018
Created April 23, 2014 02:51
Show Gist options
  • Save clone1018/11201338 to your computer and use it in GitHub Desktop.
Save clone1018/11201338 to your computer and use it in GitHub Desktop.
diff --git a/Vagrantfile b/Vagrantfile
index ebba320..262d8d7 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -20,7 +20,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box_url = File.exist?("gittip.box") ? "file://gittip.box" : "http://downloads.gittipllc.netdna-cdn.com/gittip.box"
# Sync the project directory and expose the app
- config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}"
+ config.vm.network "private_network", ip: "172.133.83.57"
+ config.vm.synced_folder ".", "/home/vagrant/#{PROJECT_DIRECTORY}", type: "nfs"
config.vm.network :forwarded_port, guest: 8537, host: 8537
# TODO: Pin apt-get packages to the same versions Heroku uses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment