Skip to content

Please deprecate (and/or rename) add_development_dependencyΒ #1104

@e2

Description

@e2

The main reasons:

  1. It's used incorrectly more often than not
  2. It's not even practical for development nowadays (unless --development-all is used)
  3. It's superseded by Bundler's groups
  4. There's no distinction between "dev deps", "test deps", "build deps" and "deploy deps" - and these distinctions are getting more and more important every day (especially "test deps")
  5. Development workstations don't need the "minimalism" provided by gem install --dev
  6. Too easy to accidentally add/remove a dependency from the wrong section (runtime vs dev)
  7. Putting development-related gems in a gemspec doesn't make any sense from a dev ops point of view
  8. Average development needs are constantly growing and there's already too much stuff in the gemspec
  9. Bundler supports easy platform switching during development - while gemspecs are only really useful for managing releases of builds
  10. Organizing dependencies between gemspec and Bundler's Gemfile is simply too confusing - and deprecating this method would really help guide people in the right direction

Summary: gem development and testing is not the responsibility of RubyGems - and should never be, because otherwise it's just wasting precious developer hours.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions