Skip to content

Commit

Permalink
Remove incorrect version constraint
Browse files Browse the repository at this point in the history
Because Rails 7.1 is released, >= 7.0.0.alpha would install 7.1, and a
nokogiri version that doesn't work on Ruby 2.7. This caused 2.7 / 7.0 CI
to fail.

Also use >= 7.1.0.alpha in edge case, there is no alpha right now.
  • Loading branch information
gmcgibbon committed Dec 15, 2023
1 parent 28715d7 commit fcea94c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/support/acceptance_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ class AcceptanceTest < ActiveSupport::TestCase

def rails_version
if ENV['RAILS_VERSION'] == "edge"
"7.1.0.alpha"
elsif ENV['RAILS_VERSION'] == "7.0"
">= 7.0.0.alpha"
">= 7.1.0.alpha"
else
"~> #{ENV['RAILS_VERSION'] || "6.1"}.0"
end
Expand Down

0 comments on commit fcea94c

Please sign in to comment.