File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ jobs:
100100 - run : bundle exec rake --version
101101 - run : bundle exec rake
102102
103+ - name : Test `gem github:` in a Gemfile
104+ run : bundle install
105+ env :
106+ BUNDLE_GEMFILE : ${{ github.workspace }}/gemfiles/gem_from_github.gemfile
107+
103108 - name : which ruby, rake
104109 if : " !startsWith(matrix.os, 'windows')"
105110 run : which -a ruby rake
Original file line number Diff line number Diff line change 1+ source "https://rubygems.org"
2+
3+ # Ruby < 2.3 only support Bundler 1, which no longer works with gem github:
4+ if RUBY_VERSION >= '2.3'
5+ # From https://github.com/ruby/setup-ruby/issues/358#issuecomment-1195899304
6+ # Tests using github: and the repository uses a non-master default branch.
7+ gem 'rack-test', github: 'rack/rack-test'
8+ end
You can’t perform that action at this time.
0 commit comments