Skip to content

Commit 442dd71

Browse files
committed
Restrict activesupport dependency for better Ruby 2.0.0 support.
1 parent 95e5551 commit 442dd71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pattern_patch.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ Gem::Specification.new do |spec|
1515
spec.homepage = 'http://github.com/jdee/pattern_patch'
1616
spec.license = 'MIT'
1717

18+
# This is necessary to support the system Ruby (2.0.0) on OS X before High Sierra.
1819
spec.required_ruby_version = '>= 2.0.0'
1920

20-
spec.add_dependency 'activesupport'
21+
# activesupport 5.x requires Ruby 2.2.
22+
spec.add_dependency 'activesupport', '~> 4.2'
2123

2224
spec.add_development_dependency 'bundler'
2325
spec.add_development_dependency 'pry'

0 commit comments

Comments
 (0)