Vagrant bundler

We, at Econsultancy, have been experimenting with using vagrant for to develop on Ubuntu virtual box instances running under OSX.

One of the things that bugged me about this was not being able open the bundled gem in Textmate by simply typing

bundle open <GEM_NAME>

Vagrant supports plugins so I’ve written one to solve this problem.

Install

gem install vagrant-bundler

Use

It currently support bundler’s list, show and open commands. Simply prefix these commands with vagrant to have them access the gems on your vagrant guest.

vagrant bundle list
vagrant bundle show <GEM_NAME>
vagrant bundle open <GEM_NAME>

The code

The code is hosted on Github.

Updates

  • Updated on 13/05/2012 because the gem’s name was changed from vagrant-bundler-tools to vagrant-bundler