]> 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:42:22 +0000 (15:42 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 10 Feb 2019 15:42:22 +0000 (15:42 +0000)
Patch by Go MAEDA.

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

Gemfile

diff --git a/Gemfile b/Gemfile
index 43fc63d432741398a24558baa463ea9b49481984..37e6b268fd1baca3da1a0aaed4fd1f9748d7d474 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -21,6 +21,7 @@ gem "mail", "~> 2.6.4"
 gem "nokogiri", (RUBY_VERSION >= "2.1" ? "~> 1.8.1" : "~> 1.6.8")
 gem "i18n", "~> 0.7.0"
 gem "ffi", "1.9.14", :platforms => :mingw if RUBY_VERSION < "2.0"
+gem "xpath", "< 3.2.0" if RUBY_VERSION < "2.3"
 
 # Request at least rails-html-sanitizer 1.0.3 because of security advisories
 gem "rails-html-sanitizer", ">= 1.0.3"