modified gem file and database.yml