Skip to content

Commit ba8ff77

Browse files
mokagioAliSoftware
authored andcommitted
Update .bundle/config syntax to work across platforms
`BUNDLE_FORCE_RUBY_PLATFORM` `true` should force `nokogiri` being build via source. This seems wasteful given Bundler should be able to use the appropriate platform for it depending on the machine it's running from, but that hasn't been the case for me recently, see #385. Without this setting, I am unable to `bundle exec rake new_release`. Something is on my mind, though: Why does `rm -rf vendor/bundle && bundle install` work on my machine but the `bundle install` run from the `new_release` Rake task fails?
1 parent 1608328 commit ba8ff77

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.bundle/config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
22
BUNDLE_PATH: "vendor/bundle"
3+
BUNDLE_FORCE_RUBY_PLATFORM: "true"
34
BUNDLE_SPECIFIC_PLATFORM: "false"
45
BUNDLE_JOBS: "16"

0 commit comments

Comments
 (0)