Mocoso Joel Chippindale's occasional blog.

27 November 2011

Vagrant bundler tools

We've 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-tools

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.