Skip to content

Commit fee5baf

Browse files
authored
Prevent using 3.9 with Rails 6.1
There's an issue with Rails 6.1 that caused error `WrongScopeError`, which was only fixed in rspec-rails 4.0 by rspec#2215.
1 parent 2e4ee51 commit fee5baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rspec-rails.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Gem::Specification.new do |s|
3333
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
3434
end
3535

36-
version_string = ['>= 3.0']
36+
version_string = ['>= 3.0', '< 6.1']
3737

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

0 commit comments

Comments
 (0)