]> source.dussan.org Git - redmine.git/commitdiff
Bundler may fail to install stringio if Ruby prior to 2.5 is used (#33768).
authorGo MAEDA <maeda@farend.jp>
Tue, 28 Jul 2020 13:10:49 +0000 (13:10 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 28 Jul 2020 13:10:49 +0000 (13:10 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19938 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index d11f085d07731e0bf60923cb4fb95ecbc65d535e..b31d10581654f96ccec22af818329ffde29f6e0d 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -12,7 +12,7 @@ gem "actionpack-xml_parser"
 gem "roadie-rails", (RUBY_VERSION < "2.5" ? "~> 1.3.0" : "~> 2.1.0")
 gem "mimemagic"
 gem "mail", "~> 2.7.1"
-gem "csv", "~> 3.1.1"
+gem 'csv', (RUBY_VERSION < '2.5' ? ['>= 3.1.1', '<= 3.1.5'] : '~> 3.1.1')
 gem "nokogiri", "~> 1.10.0"
 gem 'i18n', '~> 1.8.2'
 gem "rbpdf", "~> 1.20.0"