]> source.dussan.org Git - redmine.git/commitdiff
Gemfile: add :x64_mingw platform (aka RubyInstaller x64)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Nov 2014 09:53:42 +0000 (09:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 25 Nov 2014 09:53:42 +0000 (09:53 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13651 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index 71e3769531fd3ddf709bd9776d09400fea6a08fe..6e9de3787f34a9a08ea55b023bd65c203a21202c 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -55,19 +55,19 @@ if File.exist?(database_file)
     adapters.each do |adapter|
       case adapter
       when 'mysql2'
-        gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw]
+        gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw, :x64_mingw]
         gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
       when 'mysql'
         gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
       when /postgresql/
-        gem "pg", ">= 0.11.0", :platforms => [:mri, :mingw]
+        gem "pg", ">= 0.11.0", :platforms => [:mri, :mingw, :x64_mingw]
         gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
       when /sqlite3/
-        gem "sqlite3", :platforms => [:mri, :mingw]
+        gem "sqlite3", :platforms => [:mri, :mingw, :x64_mingw]
         gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby
       when /sqlserver/
-        gem "tiny_tds", "~> 0.6.2", :platforms => [:mri, :mingw]
-        gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw]
+        gem "tiny_tds", "~> 0.6.2", :platforms => [:mri, :mingw, :x64_mingw]
+        gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw, :x64_mingw]
       else
         warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
       end