Skip to content

Instantly share code, notes, and snippets.

@aflanagan
Last active December 31, 2015 04:59
Show Gist options
  • Save aflanagan/7938291 to your computer and use it in GitHub Desktop.
Save aflanagan/7938291 to your computer and use it in GitHub Desktop.
Test a local gem
  1. update your Gemfile to point to the remote git repository (e.g. gem "hologram", :git => 'https://github.com/trulia/hologram.git', :branch => 'master')

  2. run bundle config local.GEM_NAME /path/to/gem/git/repo (e.g. bundle config local.hologram /wb/tru/hologram)

  3. When you're done run bundle config --delete to remove the local override

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment