fix Gemfile and database.yml