-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downgrade to older bundler on older rails
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/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'].to_f < 5))"; then | ||
# On Rails versions less than 5, Bundler 2.0 is not supported | ||
echo "Warning dowgrading to older version of Bundler" | ||
gem uninstall bundler | ||
gem install bundler -v '1.17.3' | ||
fi |