Test gem github: in a Gemfile

This commit is contained in:
Benoit Daloze
2022-07-29 18:16:42 +02:00
parent d6ebfae201
commit 3882fb634e
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
source "https://rubygems.org"
# Ruby < 2.3 only support Bundler 1, which no longer works with gem github:
if RUBY_VERSION >= '2.3'
# From https://github.com/ruby/setup-ruby/issues/358#issuecomment-1195899304
# Tests using github: and the repository uses a non-master default branch.
gem 'rack-test', github: 'rack/rack-test'
end