diff --git a/reline.gemspec b/reline.gemspec index 2265cd224c..f210a3cf57 100644 --- a/reline.gemspec +++ b/reline.gemspec @@ -24,6 +24,6 @@ Gem::Specification.new do |spec| 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 'vterm', '>= 0.0.5' if is_unix && ENV['WITH_VTERM'] spec.add_development_dependency 'yamatanooroti', '>= 0.0.6' end