Don't explicitly install csv gem in Ruby 2.6 (#30118).

Redmine installs csv gem since r17245 as a workaround for a bug of csv 1.0.0 which is bundled with Ruby 2.5 (see #28112). But in Ruby 2.6, installing the gem is not necessary because the bundled csv gem was updated to 3.0.


git-svn-id: http://svn.redmine.org/redmine/trunk@17696 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2018-12-08 05:51:01 +00:00
parent 0d036b6ffb
commit a4355d22c7

View File

@@ -12,7 +12,7 @@ gem "actionpack-xml_parser"
gem "roadie-rails", "~> 1.3.0"
gem "mimemagic"
gem "mail", "~> 2.7.1"
gem "csv", "~> 1.0.2" if RUBY_VERSION >= "2.3"
gem "csv", "~> 3.0.1" if RUBY_VERSION >= "2.3" && RUBY_VERSION < "2.6"
gem "nokogiri", "~> 1.8.0"
gem "i18n", "~> 0.7.0"