]> source.dussan.org Git - redmine.git/commitdiff
Gemfile: pin sqlite3 1.3.12 on Windows Ruby 1.9.3
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 6 Apr 2017 22:10:15 +0000 (22:10 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 6 Apr 2017 22:10:15 +0000 (22:10 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16516 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index faa1939653d48bbe221a944c30e3fe549b6a50b7..cc932aa42e6d69c8aef8b05e1a0f7c998651098d 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -75,7 +75,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/