Skip to content

Commit

Permalink
Prevent using 3.9 with Rails 6.1
Browse files Browse the repository at this point in the history
There's an issue with Rails 6.1 that caused error `WrongScopeError`, which was only fixed in rspec-rails 4.0 by rspec#2215.
  • Loading branch information
guigs committed Mar 2, 2021
1 parent 2e4ee51 commit fee5baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rspec-rails.gemspec
Expand Up @@ -33,7 +33,7 @@ Gem::Specification.new do |s|
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
end

version_string = ['>= 3.0']
version_string = ['>= 3.0', '< 6.1']

if RUBY_VERSION <= '1.8.7' && ENV['RAILS_VERSION'] != '3-2-stable'
version_string << '!= 3.2.22.1'
Expand Down

0 comments on commit fee5baf

Please sign in to comment.