fix up configuration and Gemfile