diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-11 15:30:39 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-12-11 15:30:39 +0000 |
commit | f3068cd37a2db2bc2778d69b82921c2fbd5c2d07 (patch) | |
tree | f78e0e42ea493a5532778e87c6254ec6b3324eaf | |
parent | bf5dade8df89bd4e519b59846a9007bd0a5911ca (diff) | |
download | redmine-f3068cd37a2db2bc2778d69b82921c2fbd5c2d07.tar.gz redmine-f3068cd37a2db2bc2778d69b82921c2fbd5c2d07.zip |
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
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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") |