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