diff --git a/.travis.yml b/.travis.yml index f92ff69656..cce3afa0b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3" before_install: - script/update_rubygems_and_install_bundler - - script/downgrade_bundler_on_old_rails - script/clone_all_rspec_repos before_script: diff --git a/script/downgrade_bundler_on_old_rails b/script/downgrade_bundler_on_old_rails deleted file mode 100755 index bb838a77bd..0000000000 --- a/script/downgrade_bundler_on_old_rails +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# This file was generated on 2019-01-03T20:34:23+00:00 from the rspec-dev repo. -# DO NOT modify it by hand as your changes will get lost the next time it is generated. - -set -e -source script/functions.sh - -if ruby -e "exit(ENV['RAILS_VERSION'].scan(/\d+\.\d+.\d+/)[0].to_f < 5)"; then - # On Rails versions less than 5, Bundler 2.0 is not supported - echo "Warning dowgrading to older version of Bundler" - echo "Current bundler versions installed: `gem list | grep '^bundler ('`" - - gem uninstall -aIx bundler || echo "Warning error occured removing bundler via gem" - - rvm @global do gem uninstall -aIx bundler || echo "Warning error occured removing bundler via rvm" - - echo "Bundler version list after uninstall: `gem list | grep '^bundler ('`" - - gem install bundler -v '1.17.3' -fi