Attempt #5. Used sqlite3 instead of sqlite3-ruby.