- sudo gem install bundler hpricot yajl-ruby
- sudo apt-get update
- sudo apt-get install libxslt-dev libxml2-dev
- cd /vagrant
- sudo bundle install
- bundle exec ruby github-services.rb
Last active
December 11, 2015 08:19
-
-
Save mwarkentin/4572816 to your computer and use it in GitHub Desktop.
Vagrant set up for github-services
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- 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