A Ruby gem that pulls in all of the dependencies required for working on RubyGems.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A Ruby gem to simplify contributing to RubyGems, by using a Docker-based development environment.


  1. Docker
  2. Git
  3. Ruby


This is a gem meant to make developing RubyGems itself easier, and as such doesn't make much sense if you're not contributing to RubyGems.

First-time setup

$ git clone https://github.com/rubygems/rubygems.git
$ cd rubygems
$ gem install rgdev # Install the rgdev gem.
$ rgdev rake setup  # Install RubyGems development dependencies.

Execute commands in the Docker container

Now, with setup done, you're ready to execute commands inside the Docker container:

$ rgdev <command to run in the Docker container>

Example: Running the RubyGems test suite inside the Docker container

$ rgdev rake test

Developing Rgdev

After checking out the repo, run bundle install to install dependencies. Then, run bundle exec rake spec to run the tests.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in rgdev.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.


Bug reports and pull requests are welcome on GitHub at https://github.com/duckinator/rgdev. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.


The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Rgdev project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.