/rbenvinator

Building Ruby version tarballs for rbenv. Because your time is valuable.

Primary LanguageRubyMIT LicenseMIT

rbenvinator

Building Ruby version tarballs for rbenv. Because your time is valuable.

Pre-Requisites

Vagrant

You need to have an up-to-date version of Vagrant installed on your system.

Vagrant Base Boxes

After Vagrant is installed you must add the base boxes you want to use. If you need to create a base box then refer to the Vagrant documentation or the VeeWee project for more details.

I also maintain a collection of VeeWee definitions that I use with this project.

Librarian Gem

The Librarian gem also needs to be installed by running:

$ gem install librarian

An AWS/S3 Account

rbenvinator will upload the tarball packages artifacts as they are built to S3 for hosting. You will need:

  • Your access key id
  • Your secret access key
  • An S3 bucket created for uploading

Setup

First, clone down the project:

$ git clone git://github.com/fnichol/rbenvinator.git
$ cd rbenvinator

Next initialize your configuration with:

$ rake init

Now edit the config.yml file and fill in your AWS/S3 credentials and enumerate the Vagrant base box/Ruby version combinations you want to build against.

Build Them All!

Now run through each base box (one at a time) and compile all your Ruby versions! Maybe this'll be the last time...

$ time (rake build)

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

Created and maintained by Fletcher Nichol (fnichol@nichol.ca)

License

MIT (see LICENSE)