setup gemfile, configure database