From f3068cd37a2db2bc2778d69b82921c2fbd5c2d07 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 11 Dec 2016 15:30:39 +0000 Subject: [PATCH] Use tiny_tds 0.7 for ruby < 2.0 (#23932). git-svn-id: http://svn.redmine.org/redmine/trunk@16061 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 8c2ed89c8..45b62b1bc 100644 --- a/Gemfile +++ b/Gemfile @@ -79,7 +79,7 @@ if File.exist?(database_file) gem "jdbc-sqlite3", ">= 3.8.10.1", :platforms => :jruby gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby when /sqlserver/ - gem "tiny_tds", "~> 1.0.5", :platforms => [:mri, :mingw, :x64_mingw] + gem "tiny_tds", (RUBY_VERSION >= "2.0" ? "~> 1.0.5" : "~> 0.7.0"), :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") -- 2.39.5