diff --git a/Gemfile.lock b/Gemfile.lock
index fc58f23022c5f8892e2226b9b5fe6ebfdd408d7f..49cba46071246804425ee0c84b1050fafded9750 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -74,7 +74,7 @@ PATH
   remote: gems/rspec_flaky
   specs:
     rspec_flaky (0.1.0)
-      activesupport (>= 6.1, < 7.1)
+      activesupport (>= 6.1, < 8)
       rspec (~> 3.0)
 
 PATH
diff --git a/gems/rspec_flaky/Gemfile.lock b/gems/rspec_flaky/Gemfile.lock
index 547dc24e3756a95105b73a3581c349799c7cf3b3..3f40a41483edbf68d914f4899dde803b5f4a651c 100644
--- a/gems/rspec_flaky/Gemfile.lock
+++ b/gems/rspec_flaky/Gemfile.lock
@@ -9,7 +9,7 @@ PATH
   remote: .
   specs:
     rspec_flaky (0.1.0)
-      activesupport (>= 6.1, < 7.1)
+      activesupport (>= 6.1, < 8)
       rspec (~> 3.0)
 
 GEM
diff --git a/gems/rspec_flaky/rspec_flaky.gemspec b/gems/rspec_flaky/rspec_flaky.gemspec
index 5c0a434218f1d8f06cd49cef89f2135bd5431755..6ddbe4afd1e39e7e0d3433425be5cf2c8f1f9970 100644
--- a/gems/rspec_flaky/rspec_flaky.gemspec
+++ b/gems/rspec_flaky/rspec_flaky.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
   spec.files = Dir["lib/**/*.rb"]
   spec.require_paths = ["lib"]
 
-  spec.add_runtime_dependency "activesupport", ">= 6.1", "< 7.1"
+  spec.add_runtime_dependency "activesupport", ">= 6.1", "< 8"
   spec.add_runtime_dependency "rspec", "~> 3.0"
 
   spec.add_development_dependency "gitlab-styles", "~> 10.1.0"