mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
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
This commit is contained in:
parent
bf5dade8df
commit
f3068cd37a
2
Gemfile
2
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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user