more carefully construct gemfile