]> source.dussan.org Git - redmine.git/commitdiff
Merged r16515 and r16516 from trunk to 3.2-stable
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Apr 2017 08:24:47 +0000 (08:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Apr 2017 08:24:47 +0000 (08:24 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16519 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 3f71b047b7f2f7f6a55bb6fd78f25fe764a53abc..676520b0f9707fd30783f4c3eec6f8dd934e4463 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -19,6 +19,7 @@ gem "mimemagic"
 
 gem "nokogiri", "~> 1.6.8"
 gem "i18n", "~> 0.7.0"
+gem "ffi", "1.9.14", :platforms => :mingw if RUBY_VERSION < "2.0"
 
 # Request at least rails-html-sanitizer 1.0.3 because of security advisories 
 gem "rails-html-sanitizer", ">= 1.0.3"
@@ -76,7 +77,8 @@ if File.exist?(database_file)
         gem "pg", "~> 0.18.1", :platforms => [:mri, :mingw, :x64_mingw]
         gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
       when /sqlite3/
-        gem "sqlite3", :platforms => [:mri, :mingw, :x64_mingw]
+        gem "sqlite3", (RUBY_VERSION < "2.0" && RUBY_PLATFORM =~ /mingw/ ? "1.3.12" : "~>1.3.12"),
+                       :platforms => [:mri, :mingw, :x64_mingw]
         gem "jdbc-sqlite3", ">= 3.8.10.1", :platforms => :jruby
         gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
       when /sqlserver/