Skip to content

Instantly share code, notes, and snippets.

View gn-spawn's full-sized avatar
🏠
Working from home

spawn gn-spawn

🏠
Working from home
View GitHub Profile
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos7-updated-20150209"
config.vm.box_url = "https://www.dropbox.com/s/ojfambfh4m40c0t/centos7-updated-20150209.box?dl=1"
config.vm.provision :fabric do |fabric|
fabric.fabfile_path = "./provision.py"
fabric.tasks = ["execute"]
# -*- coding: utf-8 -*-
from fabric.api import run, sudo, cd
from fabric.contrib.files import sed, append, contains
def execute():
update()
rbenv_install()
ruby_and_rails_install()
all_port_open()