]> source.dussan.org Git - redmine.git/commitdiff
Use xpath < 3.2 for Ruby < 2.3 (#30114).
authorGo MAEDA <maeda@farend.jp>
Sun, 10 Feb 2019 15:38:46 +0000 (15:38 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 10 Feb 2019 15:38:46 +0000 (15:38 +0000)
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@17854 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 8fcf249a32a068826fa6236eba604c264dc938a4..89e5f62304719daa3720ff540fef8d9e633e3580 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -14,6 +14,7 @@ gem "csv", "~> 3.0.1" if RUBY_VERSION >= "2.3" && RUBY_VERSION < "2.6"
 
 gem "nokogiri", (RUBY_VERSION >= "2.3" ? "~> 1.10.0" : "~> 1.9.1")
 gem "i18n", "~> 0.7.0"
+gem "xpath", "< 3.2.0" if RUBY_VERSION < "2.3"
 
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]