Skip to content

Commit 83098b0

Browse files
committed
CI: Fixate concurrent-ruby for Rails 7.0 support
The fixes in Solidus are not available everywhere yet.
1 parent 395874d commit 83098b0

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

Gemfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ end
2727
# Use a local Gemfile to include development dependencies that might not be
2828
# relevant for the project or for other contributors, e.g.: `gem 'pry-debug'`.
2929
eval_gemfile 'Gemfile-local' if File.exist? 'Gemfile-local'
30+
31+
if rails_version == "~> 7.0"
32+
gem 'concurrent-ruby', '< 1.3.5'
33+
end

lib/solidus_dev_support/templates/extension/Gemfile.tt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ else
2929
gem 'sqlite3', '~> 1.4'
3030
end
3131

32+
if rails_version == '~> 7.0'
33+
gem 'concurrent-ruby', '< 1.3.5'
34+
end
35+
3236
# While we still support Ruby < 3 we need to workaround a limitation in
3337
# the 'async' gem that relies on the latest ruby, since RubyGems doesn't
3438
# resolve gems based on the required ruby version.

0 commit comments

Comments
 (0)