diff --git a/Gemfile.lock b/Gemfile.lock index 6c28cee..71873b3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,7 +6,7 @@ PATH activesupport (>= 5.2) connection_pool (>= 2) msgpack (>= 0.5) - redis (>= 3.0) + redis (>= 3.0, < 4.7) GEM remote: https://rubygems.org/ diff --git a/modis.gemspec b/modis.gemspec index d9f87b6..cb0a66a 100644 --- a/modis.gemspec +++ b/modis.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'activemodel', '>= 5.2' gem.add_runtime_dependency 'activesupport', '>= 5.2' - gem.add_runtime_dependency 'redis', '>= 3.0' + gem.add_runtime_dependency 'redis', '>= 3.0', '< 4.7' gem.add_runtime_dependency 'connection_pool', '>= 2' if defined? JRUBY_VERSION