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 4ca55c7 commit e367a85Copy full SHA for e367a85
script/downgrade_bundler_on_old_rails
@@ -11,10 +11,8 @@ if ruby -e "exit(ENV['RAILS_VERSION'].scan(/\d+\.\d+.\d+/)[0].to_f < 5)"; then
11
12
gem uninstall -aIx bundler || echo "Warning error occured removing bundler via gem"
13
14
- # this only works on Ruby 2.3 which is luckily the version we need to fix
15
- if is_ruby_23; then
16
- rvm @global do gem uninstall -aIx bundler
17
- fi
+ # Delete all bundler version because we do not support Bundler 2+ below Rails 4
+ rvm @global do gem uninstall -aIx bundler
18
19
gem install bundler -v '1.17.3'
20
fi
0 commit comments