Skip to content

Latest commit

 

History

History
71 lines (45 loc) · 3.97 KB

File metadata and controls

71 lines (45 loc) · 3.97 KB

How to Contribute

Thank you for your interest in contributing to RubyGems and Bundler! Community involvement is essential to both RubyGems and Bundler. We welcome contributions from everyone, and we want to keep it as easy as possible to contribute changes.

Code of Conduct

By participating in this project, you agree to abide by the terms of the Code of Conduct.

Getting Started

Before submitting a contribution:

  1. Set up your development environment - See GETTING_STARTED.md for detailed setup instructions
  2. Understand the repository structure - This is a monorepo containing both RubyGems and Bundler:
    • RubyGems code is in the root lib/ and exe/ directories
    • Bundler code is in the bundler/ subdirectory

Contribution Guidelines

All contributions to this repository should follow these guidelines:

  1. Write tests - New features must be coupled with tests. Bug fixes should include a test that reproduces the issue.

  2. Code style compliance:

    • No trailing whitespace
    • Use two-space indentation
    • Run bin/rake rubocop to check style compliance
  3. File management (RubyGems only):

    • If you add or remove files in the RubyGems portion of the repo, update Manifest.txt by running bin/rake update_manifest
  4. Preserve version history:

    • Don't modify version numbers or changelog files directly; maintainers handle these
  5. Ask questions - Have questions? Feel free to open an issue

For more information on contributing to the RubyGems ecosystem, see guides.rubygems.org/contributing.

First-Time Contributors

We track good first issues to help new contributors get started. Here are some great ways to begin:

Pull Request Guidelines

See doc/PULL_REQUESTS.md for detailed guidelines.

Community and Support

Community involvement is vital to both projects:

  • Answer questions: Help others on the issue tracker or Stack Overflow (questions about RubyGems, Bundler, and Ruby in general are welcome)
  • Share knowledge: Write blog posts, create examples, make videos, or share your experiences
  • Improve documentation: Suggest improvements to bundler.io via issues or pull requests on the bundler-site repository

Supporting the Projects

Both RubyGems and Bundler are managed by Ruby Central, a non-profit organization supporting the Ruby community through projects like these, as well as RubyConf and RubyGems.org.

You can support Ruby Central by: