Refactor Gemfile.