Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
(MAINT) Fix user install bug
Browse files Browse the repository at this point in the history
When using the `--user-install` switch on the gem install, the bundler
gem is installed to a user folder path that is not on the PATH variable.
This causes later calls to things like `bundle -v` to fail the build.
  • Loading branch information
RandomNoun7 committed Dec 3, 2020
1 parent 71769a9 commit a41e2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/litmus_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function run() {
await util.wrappedExec('git config --system core.longpaths true');
}
await util.wrappedExec('gem --version');
await util.wrappedExec('gem install --user-install bundler');
await util.wrappedExec('gem install bundler');
await util.wrappedExec('bundle -v');
await util.wrappedExec(`bundle install --jobs 4 --retry 2 ${bundler_args}`);

Expand Down

0 comments on commit a41e2e8

Please sign in to comment.