Skip to content

Instantly share code, notes, and snippets.

@mwarkentin
Last active December 11, 2015 08:19
Show Gist options
  • Select an option

  • Save mwarkentin/4572816 to your computer and use it in GitHub Desktop.

Select an option

Save mwarkentin/4572816 to your computer and use it in GitHub Desktop.
Vagrant set up for github-services

Steps

  1. sudo gem install bundler hpricot yajl-ruby
  2. sudo apt-get update
  3. sudo apt-get install libxslt-dev libxml2-dev
  4. cd /vagrant
  5. sudo bundle install
  6. bundle exec ruby github-services.rb

References:

# -*- mode: ruby -*-
# vi: set ft=ruby :
HERE = File.join(File.dirname(__FILE__))
Vagrant::Config.run do |config|
config.vm.box = "lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
# config.vm.forward_port 80, 8080
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = File.join(HERE, 'cookbooks')
chef.add_recipe "build-essential"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment