1
0
mirror of https://github.com/jcwimer/railsVagrant synced 2026-03-24 18:44:42 +00:00

Moved rvm setup to provisioning

This commit is contained in:
2016-08-09 16:28:28 -04:00
parent 599e761099
commit 52aedbca57
8 changed files with 37 additions and 19 deletions

6
Vagrantfile vendored
View File

@@ -2,9 +2,13 @@ Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network"
config.vm.network "private_network", ip: "192.168.254.2"
config.vm.provision :shell, path: "setup/build.sh"
config.vm.provision :shell, path: "setup/rvm-install.sh", args: "stable", privileged: false
config.vm.provision :shell, path: "setup/ruby-install.sh", args: "2.3.0 rails", privileged: false
config.vm.provision :shell, path: "setup/other-user-setup.sh", privileged: false
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
v.name = "railsdev"
end
end
end