Skip to content
Browse files

equal opportunity for all sqlite3 gems

  • Loading branch information...
1 parent ffc577c commit dbc1737a97d1e76145319846088248f1bfa13198 @technoweenie committed Jul 8, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 lib/parkplace.rb
View
8 lib/parkplace.rb
@@ -82,14 +82,6 @@ def config(options)
end
options.storage_dir = File.expand_path(options.storage_dir || 'storage', options.parkplace_dir)
options.database ||= {:adapter => 'sqlite3', :database => File.join(options.parkplace_dir, 'park.db')}
- if options.database[:adapter] == 'sqlite3'
- begin
- require 'sqlite3_api'
- rescue LoadError
- puts "!! Your SQLite3 adapter isn't a compiled extension."
- abort "!! Please check out http://code.whytheluckystiff.net/camping/wiki/BeAlertWhenOnSqlite3 for tips."
- end
- end
ParkPlace::STORAGE_PATH.replace options.storage_dir
end
def serve(host, port)

0 comments on commit dbc1737

Please sign in to comment.
Something went wrong with that request. Please try again.