-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use #is_a_path? conditionally on Bundler version #19
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
79d8588
Use #is_a_path? conditionally on Bundler version
garettarrowood 77439e8
Use Bundler::VERSION
garettarrowood 8e22239
Update setting Bundler to frozen with #set_local
garettarrowood 57136cf
Force travis to install with correct Bundler version
garettarrowood 8bd8c5d
Resolve rubocop offenses
garettarrowood 6990215
Verify bundler version is not greater than 1.14.0 in travis
garettarrowood 6f82a4b
Print the version
garettarrowood c622ac2
Override install properly
garettarrowood 93ea316
Overwrite script as well
garettarrowood bd421f2
Force uninstall of bundler as suggestion in link
garettarrowood 85d9ce5
try moving it to before_install
garettarrowood b6caad9
Try another tactic found on this travis-ci issue
garettarrowood 964e3df
Turn condition in Gemfile into Bundler version log
garettarrowood ccfd098
Create build matrix with multiple Ruby & Bundler versions
garettarrowood 4b251ad
Remove logging that creates test failures
garettarrowood a612459
Fix wrong bundler version
garettarrowood 03c5439
Add 2 more Bundler versions
garettarrowood 0e65e41
Use matrix of 1 Ruby & 2 Bundler versions
garettarrowood d3a633b
Use Gem::Version to compare Bundler versions
garettarrowood 909b498
Use #respond_to? instead of looking at Bundler
garettarrowood 74bffba
Remove duplication from #path?
garettarrowood File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
sudo: true | ||
language: ruby | ||
rvm: | ||
- 2.3.1 | ||
before_install: | ||
- gem install bundler -v 1.13.6 | ||
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete" | ||
- gem install bundler:"$BUNDLER_VERSION" | ||
- sudo apt-get -qq install graphviz | ||
rvm: | ||
- 2.5.1 | ||
env: | ||
- BUNDLER_VERSION=1.15.4 | ||
- BUNDLER_VERSION=1.16.3 |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does
gem uninstall
not work?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately not. I tried in the
before_install
andinstall
phases. Travis returns:Related issue