changed db config and gemfile