Skip to content

Commit 90779f3

Browse files
authored
Merge pull request #2626 from rspec/fix-build
Pin puma to less than 6 to avoid issue with capybara
2 parents 0857cbc + 344b79b commit 90779f3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Gemfile-rails-dependencies

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,29 @@ end
1414
# sqlite3 is an optional, unspecified, dependency and Rails 6.0 only supports `~> 1.4`
1515
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
1616

17+
# Due to capybara strings issue
18+
gem 'puma', '< 6.0.0'
19+
1720
case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp) || ''
1821
when /main/
1922
gem "rails", :git => "https://github.com/rails/rails.git"
20-
gem 'puma', "3.12.1"
2123
gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter', platforms: [:jruby]
2224
gem 'selenium-webdriver', require: false
2325
when /stable$/
2426
gem_list = %w[rails railties actionmailer actionpack activerecord activesupport activejob actionview]
25-
gem 'puma', "3.12.1"
2627
gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter', platforms: [:jruby]
2728

2829
gem_list.each do |rails_gem|
2930
gem rails_gem, :git => "https://github.com/rails/rails.git", :branch => version
3031
end
3132
when nil, false, ""
3233
gem "rails", "~> 7.0.0"
33-
gem "puma"
3434
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
3535
gem 'selenium-webdriver', require: false
3636
else
3737
add_net_gems_dependency if version.split(' ').last < '7.0'
3838

3939
gem "rails", version
40-
gem "puma"
4140
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
4241
gem 'selenium-webdriver', require: false
4342
end

0 commit comments

Comments
 (0)