reverted gemfile and database.yml