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