/vagrant-heroku-base

Minimal vagrant box for heroku (matching OS, memory, ruby, gems).

vagrant-heroku-base

Minimal vagrant base box for matching Heroku's Celadon Cedar stack.

It matches hardware's memory limitations and provides only the minimal software requirements for vagrant. This box uses versions of ruby (1.9.2p290) and rubygems (1.3.7) that, at time of writing, match those on Heroku.

Usage

In your Vagrantfile add the following:

  config.vm.box = "heroku-base"
  config.vm.box_url = "https://github.com/downloads/jochu/vagrant-heroku-base/heroku-base.box"

It is recommended you package your own box after you've install the necessary dependencies for your application.

Motivation

This box was based off of ejholmes' vagrant-heroku and vagrant's lucid64.box's postinstall.sh - however, unlike vagrant-heroku, this box only only includes the minimum needed for vagrant. The rest of heroku stack is left for user to build on top this box.

This was made because it's a smaller payload and it's easier to add new things to a minimal box than it is to change/upgrade a full-fledged box. This helps when matching moving targets like Heroku's Postgresql version.