rubygems / rfcs

RubyGems + Bundler RFCs
45 stars 40 forks source link

Improvements to `bundle add`, plus `bundle remove` #10

Closed shime closed 6 years ago

shime commented 6 years ago

Adding the RFC for bundle add improvements and bundle remove command, as described in shime/bun#3.

Looking forward to your input!

Rendered RFC text

shime commented 6 years ago

Thanks for your input, everyone! I've made the updates to the RFC document. Regarding @segiddins's comment - I don't think we can do much when it comes to arbitrary Ruby code inside a Gemfile.

These commands would operate on the text in the Gemfile, they would not execute any Ruby code inside it. So for removing, it would report failure to do so if a gem is not found in a Gemfile text. Same goes for adding, it would check if a gem is present in a Gemfile text and if not it would try to add it to according group.

indirect commented 6 years ago

Accepting this PR, since implementation has already begun as part of GSoC 2018. 😄