Skip to content

Commit 274aa9f

Browse files
committed
Allow running on Ruby 3
1 parent bf16f2d commit 274aa9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/solidus_dev_support/templates/extension/extension.gemspec.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717
spec.metadata['source_code_uri'] = '<%= gemspec.metadata["source_code_uri"] %>'
1818
spec.metadata['changelog_uri'] = '<%= gemspec.metadata["changelog_uri"] %>'
1919

20-
spec.required_ruby_version = Gem::Requirement.new('~> 2.5')
20+
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4')
2121

2222
# Specify which files should be added to the gem when it is released.
2323
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)