changed database.yml and gemfile