Skip to content

Commit

Permalink
Merge pull request #3332 from dependabot/feelepxyz/fix-bundler-args
Browse files Browse the repository at this point in the history
Bundler: fix deprecated --without flag in build
  • Loading branch information
feelepxyz authored Mar 24, 2021
2 parents 4a9f95d + 8593204 commit bda874a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundler/helpers/v1/build
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ cd "$install_dir"

# NOTE: Sets `BUNDLED WITH` to match the installed v1 version in Gemfile.lock
# forcing native helpers to run with the same version
BUNDLER_VERSION=1 bundle install --without test
BUNDLER_VERSION=1 bundle config set --local without "test"
BUNDLER_VERSION=1 bundle install
3 changes: 2 additions & 1 deletion bundler/helpers/v2/build
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ cd "$install_dir"
# NOTE: Sets `BUNDLED WITH` to match the installed v1 version in Gemfile.lock
# forcing specs and native helpers to run with the same version
BUNDLER_VERSION=2 bundle config set --local path ".bundle"
BUNDLER_VERSION=2 bundle install --without test
BUNDLER_VERSION=2 bundle config set --local without "test"
BUNDLER_VERSION=2 bundle install

0 comments on commit bda874a

Please sign in to comment.