Skip to content

Commit

Permalink
Address bundler deprecation
Browse files Browse the repository at this point in the history
```
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor/gems'`, and stop using this flag
```
  • Loading branch information
composerinteralia committed Jan 24, 2024
1 parent a4283f3 commit b02dc55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contrib/ruby/script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
set -e
cd "$(dirname $0)"/..

bundle check --path vendor/gems 2>&1 > /dev/null || {
bundle install --path vendor/gems "$@"
bundle config set --local path vendor/gems
bundle check 2>&1 > /dev/null || {
bundle install "$@"
bundle clean
}

Expand Down
Binary file added contrib/ruby/trilogy-2.7.0.gem
Binary file not shown.

0 comments on commit b02dc55

Please sign in to comment.