summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-12-08 05:51:01 +0000
committerGo MAEDA <maeda@farend.jp>2018-12-08 05:51:01 +0000
commita4355d22c7316cceab8b64b3335323f505b8aeea (patch)
treedb70608c1c67c680973b779c243d2624f44422ed
parent0d036b6ffb276154607395fc0684d090590d7771 (diff)
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
-rw-r--r--Gemfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 09943ea9f..45bed7a53 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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"