aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-07-07 15:14:59 +0100
committerMike McQuaid2017-07-07 15:20:19 +0100
commitcb3a47d9e24fadfacaa304b7788f22d1851d57cd (patch)
tree2cad345ec5ff897de5aa80a521bde4ea912d0d87 /Library/Homebrew/dev-cmd
parent1406f89ac5ded71eac9f4493ad3f9758287aaded (diff)
downloadbrew-cb3a47d9e24fadfacaa304b7788f22d1851d57cd.tar.bz2
Fix `brew tests` on High Sierra.
The `brew test` tests were failing as they were unable to include `test/unit/assertions`. This is because it's a gem and we were setting the `GEM_HOME` so system gems were being ignored. While I was there and examining the `$LOAD_PATH`: reduce the number of things we add there by using `Bundler.with_clean_env` and only adding `HOMEBREW_LIBRARY_PATH` in the `$LOAD_PATH` if it isn't already there (which it always is [and has to be] for integration tests). This also seems to have the side effect of speeding up integration tests from 1m26s to 1m8s on my machine.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions