We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac7746 commit f0bee2cCopy full SHA for f0bee2c
script/downgrade_bundler_on_old_rails
@@ -8,7 +8,10 @@ source script/functions.sh
8
if ruby -e "exit(ENV['RAILS_VERSION'].scan(/\d+\.\d+.\d+/)[0].to_f < 5)"; then
9
# On Rails versions less than 5, Bundler 2.0 is not supported
10
echo "Warning dowgrading to older version of Bundler"
11
- gem uninstall -aIx bundler
+
12
+ set +e
13
+ gem uninstall -aIx bundler || echo "Warning error occured removing bundler via gem"
14
+ set -e
15
16
# this only works on Ruby 2.3 which is luckily the version we need to fix
17
if is_ruby_23_plus; then
0 commit comments