updated database.yml and gemfile