mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #2171 from arunagw/database-rake-1.9.2
This conditions is required to work with database create task. 1.9.2 is h
This commit is contained in:
@@ -115,7 +115,8 @@ db_namespace = namespace :db do
|
||||
end
|
||||
end
|
||||
else
|
||||
$stderr.puts "#{config['database']} already exists"
|
||||
# Bug with 1.9.2 Calling return within begin still executes else
|
||||
$stderr.puts "#{config['database']} already exists" unless config['adapter'] =~ /sqlite/
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user