summaryrefslogtreecommitdiff
path: root/lib/reline
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-04-03 20:17:34 +0900
committeraycabta <aycabta@gmail.com>2021-04-03 20:22:56 +0900
commit47abb70234867bd7dbc2f324ebcae7873fc4625e (patch)
tree234998934135435a445bcc5619f79c5e3434dcb1 /lib/reline
parent281c6f505580d31baa747ecb6cb189f02782c5ab (diff)
[ruby/reline] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGV
https://github.com/ruby/reline/commit/7562cf3b5f
Diffstat (limited to 'lib/reline')
-rw-r--r--lib/reline/reline.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reline/reline.gemspec b/lib/reline/reline.gemspec
index 763c0f8bc3..2265cd224c 100644
--- a/lib/reline/reline.gemspec
+++ b/lib/reline/reline.gemspec
@@ -23,5 +23,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'test-unit'
+ is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
+ spec.add_development_dependency 'vterm', '>= 0.0.5' if is_unix
spec.add_development_dependency 'yamatanooroti', '>= 0.0.6'
end