Skip to content

Instantly share code, notes, and snippets.

@pyro2927
Created July 31, 2014 15:13
Show Gist options
  • Save pyro2927/16ac82b9874b69ef0090 to your computer and use it in GitHub Desktop.
Save pyro2927/16ac82b9874b69ef0090 to your computer and use it in GitHub Desktop.
rails_vagrant_file
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "eduardodeoh/precise64-rails-dev"
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.network "private_network", ip: "192.168.33.10"
config.ssh.forward_agent = true
config.vm.provider "virtualbox" do |v|
v.memory = 4096
v.cpus = 2
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment