This file contains 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 : | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
INITIAL_PROVISION=/var/cache/initial_provision | |
DISTRIB_CODENAME=$(lsb_release --codename --short) | |
DEB="puppetlabs-release-${DISTRIB_CODENAME}.deb" |
This file contains 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
require 'rubygems' | |
require 'mechanize' | |
require 'keychain' | |
class Scraper | |
def initialize(url) | |
@url = url | |
@flows = [] | |
end | |
This file contains 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
create_file '.rvmrc' do | |
'echo "RVM: Switching to Ruby 1.9.2"' | |
'rvm 1.9.2' | |
end | |
append_to_file '.gitignore', "*.sw?" | |
gem('formtastic') | |
gem('sass') | |
gem("mysql2", :group => "production") |