modified gem file for sqlite3 and pg