updating gemfile and database.yml