1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
This commit is contained in:
Nobuyoshi Nakada 2021-04-07 12:12:27 +09:00
parent 3816157e5d
commit 9e940eae60
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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