File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 6
6
source script/functions.sh
7
7
8
8
if is_ruby_23_plus; then
9
- gem update --system
10
- gem install bundler
9
+ yes | gem update --system
10
+ # Avoid Bundler error with 2.1.0
11
+ echo " Warning dowgrading to older version of Bundler"
12
+ echo " Current bundler versions installed: ` gem list | grep ' ^bundler (' ` "
13
+
14
+ gem uninstall -aIx bundler || echo " Warning error occured removing bundler via gem"
15
+
16
+ rvm @global do gem uninstall -aIx bundler || echo " Warning error occured removing bundler via rvm"
17
+
18
+ echo " Bundler version list after uninstall: ` gem list | grep ' ^bundler (' ` "
19
+
20
+ gem install bundler -v ' 2.0.2'
11
21
else
12
22
echo " Warning installing older versions of Rubygems / Bundler"
13
23
gem update --system ' 2.7.8'
You can’t perform that action at this time.
0 commit comments