Skip to content

Commit 9c13baf

Browse files
committed
try! Remove bundlers before installing a new one
1 parent 0007e19 commit 9c13baf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

script/update_rubygems_and_install_bundler

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ source script/functions.sh
77

88
if is_ruby_23_plus; then
99
yes | gem update --system
10+
echo "Current bundler versions installed: `gem list | grep '^bundler ('`"
11+
gem uninstall -aIx bundler || echo "Warning error occured removing bundler via gem"
12+
rvm @global do gem uninstall -aIx bundler || echo "Warning error occured removing bundler via rvm"
1013
gem install bundler
1114
else
1215
echo "Warning installing older versions of Rubygems / Bundler"

0 commit comments

Comments
 (0)