Skip to content

Commit

Permalink
making Gemfile.extra specific to 6.1 and 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eddierubeiz committed Jul 14, 2022
1 parent 93b3195 commit a996ab7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/test_app_templates/Gemfile.extra
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

group :development do
gem 'linkeddata'
case ENV['RAILS_VERSION']
when /^6\.[01]\./
if ENV['RAILS_VERSION'] =~ /^6\.1\./ && ENV['RUBY_VERSION'] =~ /^3\.1\./
# Ruby 3.0 comes with Psych 3, while Ruby 3.1 comes with Psych 4,
# which has a major breaking change (diff 3.3.2 → 4.0.0).
# See: https://bugs.ruby-lang.org/issues/17866
Expand Down

0 comments on commit a996ab7

Please sign in to comment.