updating Gemfile and database.yml