Improved Gemfile handling.