@@ -55,8 +55,9 file 'config/database.yml' do | |||
|
55 | 55 | 'host' => 'localhost', |
|
56 | 56 | 'username' => 'jenkins', 'password' => 'jenkins'} |
|
57 | 57 | test_conf = dev_conf.merge('database' => test_db_name) |
|
58 |
when |
|
|
59 |
dev_conf = {'adapter' => |
|
|
58 | when /sqlite3/ | |
|
59 | dev_conf = {'adapter' => (Object.const_defined?(:JRUBY_VERSION) ? | |
|
60 | 'jdbcsqlite3' : 'sqlite3'), | |
|
60 | 61 | 'database' => "db/#{dev_db_name}.sqlite3"} |
|
61 | 62 | test_conf = dev_conf.merge('database' => "db/#{test_db_name}.sqlite3") |
|
62 | 63 | when 'sqlserver' |
General Comments 0
You need to be logged in to leave comments.
Login now