Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/bump_bundler_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
echo "Remove all bundler versions except the default one"
gem uninstall bundler -a -x

BUNDLER_VERSION=$(ruby -rbundler -e 'puts Bundler::VERSION')

echo "Reinstall the default bundler version - just to be sure everything works"
gem install bundler -v $BUNDLER_VERSION

ruby -v
bundler -v

# We are modifying the Gemfile.lock, thus have to set frozen to false.
bundle config set frozen false

BUNDLER_VERSION=$(ruby -rbundler -e 'puts Bundler::VERSION')

echo "Update bundler version in Gemfile.lock"
bundle update --bundler=$BUNDLER_VERSION

Expand Down