Skip to content

Commit

Permalink
Support Ruby 2.5 or later for String#grapheme_clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Dec 7, 2019
1 parent 184fe0f commit 33e8c8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reline.gemspec
Expand Up @@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
spec.files = Dir['BSDL', 'COPYING', 'README.md', 'lib/**/*']
spec.require_paths = ['lib']

spec.required_ruby_version = Gem::Requirement.new('>= 2.5')

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'test-unit'
Expand Down

2 comments on commit 33e8c8f

@toncid
Copy link

@toncid toncid commented on 33e8c8f Dec 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #82.

@eregon
Copy link
Member

@eregon eregon commented on 33e8c8f Mar 30, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aycabta FYI, this seems to cause some bug in Bundler, where gems depending on IRB on Ruby <= 2.4 sometimes fail to bundle install: rubygems/rubygems#3463

Please sign in to comment.