From 9e940eae604f886f48fa10e667ceb40c35924b91 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 7 Apr 2021 12:12:27 +0900 Subject: [PATCH] [ruby/irb] Moved development dependencies to Gemfile As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/irb/commit/42f364ea23 --- lib/irb/irb.gemspec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/irb/irb.gemspec b/lib/irb/irb.gemspec index ccb05036ee..e6b28453f8 100644 --- a/lib/irb/irb.gemspec +++ b/lib/irb/irb.gemspec @@ -37,9 +37,4 @@ Gem::Specification.new do |spec| spec.required_ruby_version = Gem::Requirement.new(">= 2.5") spec.add_dependency "reline", ">= 0.1.5" - spec.add_development_dependency "bundler" - 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 && ENV['WITH_VTERM'] - spec.add_development_dependency 'yamatanooroti', '>= 0.0.6' - spec.add_development_dependency "rake" end