Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5049

How do you get bundle config to use multiple build options?

$
0
0

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.nokogiriSet 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


Viewing all articles
Browse latest Browse all 5049

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>