Skip to content

Commit

Permalink
Always warn about sqlite3 (which does not work)
Browse files Browse the repository at this point in the history
Partial revert of b9bcf2c
  • Loading branch information
martinemde committed Jan 12, 2012
1 parent 93ac283 commit 0111bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/engineyard-serverside/lockfile_parser.rb
Expand Up @@ -16,11 +16,11 @@ def initialize(lockfile_contents)
end

def any_database_adapter?
any_ruby_adapter = %w[mysql2 mysql do_mysql pg do_postgres sqlite3].any? do |type|
any_ruby_adapter = %w[mysql2 mysql do_mysql pg do_postgres].any? do |type|
@contents.index(/^\s+#{type}\s\([^\)]+\)$/)
end

any_jruby_adapter = %w[mysql postgresql sqlite3].any? do |type|
any_jruby_adapter = %w[mysql postgresql].any? do |type|
@contents.index(/^\s+jdbc-#{type}\s\([^\)]+\)$/) || @contents.index(/^\s+activerecord-jdbc#{type}-adapter\s\([^\)]+\)$/)
end

Expand Down

0 comments on commit 0111bb1

Please sign in to comment.