From 9974274b1dee5ddce78c31b311c42d430a4a1747 Mon Sep 17 00:00:00 2001 From: meganemura Date: Mon, 1 May 2023 20:38:48 +0900 Subject: [PATCH] Relax rails version in Gemfile and, add sprockets-rails as a explicit development dependency. --- Gemfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 4f4778a6..0ec90edf 100644 --- a/Gemfile +++ b/Gemfile @@ -10,10 +10,14 @@ gemspec # Git. Remember to move these dependencies to your gemspec before releasing # your gem to rubygems.org. -gem 'rails', '>= 5.2.4.6', '< 6.2' +gem 'rails', '>= 5.2.4.6', '< 7.1' group :development, :test do gem 'pry' gem 'pry-nav' gem 'rubocop' + + # Since rails 7.0, rails does not require sprockets-rails. + # This is added to run the same tests as in previous versions. + gem 'sprockets-rails' end