Skip to content

Instantly share code, notes, and snippets.

@matthewjackowski
matthewjackowski / octopress-vagrant-chef.md
Created February 9, 2014 13:32
Octopress Vagrant - Chef setup

I really love Octopress (http://octopress.org/). The only problem is setting up a functional Ruby environment. I always seem to spend more time with Ruby than the project itself. So I built a vagrant/chef setup for it. Before I go too far...I assume you have the following setup (this is a non-trivial task, thats covered better elsewhere): Virtualbox, Vagrant, Vagrant Plugins (vbguest, omnibus, berkshelf)

Ok let's jump into some code for the Berkshelf:

cookbook "dmg", "<= 2.0.6"
cookbook "git"
cookbook "curl"
cookbook "rvm", git: 'https://github.com/fnichol/chef-rvm.git'
@jordansissel
jordansissel / Procfile
Created April 5, 2012 19:29
Jenkins on Heroku
# Only listen on http; disable ajp and https
web: java -jar jenkins.war --httpPort=$PORT --ajp13Port=-1 --httpsPort=-1