File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ bundler_args: "--binstubs --path ../bundle --retry=3 --jobs=3"
24
24
25
25
before_install :
26
26
- script/update_rubygems_and_install_bundler
27
+ - script/downgrade_bundler_on_old_rails
27
28
- script/clone_all_rspec_repos
28
29
29
30
before_script :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # This file was generated on 2019-01-03T20:34:23+00:00 from the rspec-dev repo.
3
+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
+
5
+ set -e
6
+ source script/functions.sh
7
+
8
+ if ruby -e " exit(ENV['RAILS_VERSION'].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
+ rvm @global do gem uninstall -aIx bundler
13
+ gem install bundler -v ' 1.17.3'
14
+ fi
You can’t perform that action at this time.
0 commit comments