Skip to content

Commit 035b298

Browse files
committed
Reinstall the default bundler version - just to be sure everything works
1 parent 27acecb commit 035b298

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/bump_bundler_version.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@ jobs:
2222
echo "Remove all bundler versions except the default one"
2323
gem uninstall bundler -a -x
2424
25+
BUNDLER_VERSION=$(ruby -rbundler -e 'puts Bundler::VERSION')
26+
27+
echo "Reinstall the default bundler version - just to be sure everything works"
28+
gem install bundler -v $BUNDLER_VERSION
29+
2530
ruby -v
2631
bundler -v
2732
2833
# We are modifying the Gemfile.lock, thus have to set frozen to false.
2934
bundle config set frozen false
3035
31-
BUNDLER_VERSION=$(ruby -rbundler -e 'puts Bundler::VERSION')
32-
3336
echo "Update bundler version in Gemfile.lock"
3437
bundle update --bundler=$BUNDLER_VERSION
3538

0 commit comments

Comments
 (0)