modify Gemfile and database.yml