Thursday, February 28, 2013

Add Bundler to Gem

If you have a gem that you're working on, and it isn't using bundler for dependency management, it's easy to add.  I wanted to run the rspec specs without pain; so, I created a Gemfile like this:

source "http://rubygems.org"
gemspec

This will just use your gemspec's dependencies.  Run bundle and you're ready to go.

No comments:

Post a Comment