set up gemfile and database