I'm attempting to use bundler to install some packages, the command I want to use is:
bundle install --path vendor/bundle
However, since libxml2 is being a jerk, I need to setup the config before hand with a command like so:
bundle config --local build.nokogiri --with-xml2-include=dir1 --with-xml2-lib=dir2 --with-xslt-include=dir3 --with-xslt-lib=dir4
But when I look at the .bundle/config file, I see:
BUNDLE_BUILD__NOKOGIRI: --with-xml2-include=dir1
--with-xml2-lib=dir2 --with-xslt-include=dir3 --with-xslt-lib=dir4
You'll notice the dir2, dir3, and dir4 appear on the next line, not on the same line as the dir1. This is a problem because when I type bundle config to display the current config, I see that it isn't recognizing second line of configs:
Settings are listed in order of priority. The top value will be used.
build.nokogiri
Set for your local app (/path/app/.bundle/config): "--with-xml2-include=dir1"
How do I get bundle config to retain multiple build options? FYI, I already tried putting quotes around them, and removing the --local -- they yielded the same result.
I'm using bundler version 1.3.5