Skip to content

Instantly share code, notes, and snippets.

@jhbabon
Last active August 29, 2015 14:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhbabon/11402139 to your computer and use it in GitHub Desktop.
Save jhbabon/11402139 to your computer and use it in GitHub Desktop.
Pass configuration options to gems installed with bundler

For example, pass a config option to libv8 gem

$ bundle config --local build.libv8 --with-system-v8
$ cat .bundle/config
---
BUNDLE_BUILD__LIBV8: "--with-system-v8"

Now libv8 will be installed almost in the same way that gem does:

$ gem install libv8 --with-system-v8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment