Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


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
$ 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

Removing docker volumes

If you want to remove the docker volume associated with using rgdev in a particular directory, you can run these commands:

$ cd /path/to/directory
$ rgdev --reset

In order to use rgdev in that directory again, you'll need to do rgdev rake setup again.

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


Bug reports and pull requests are welcome on GitHub at 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.


A Ruby gem to simplify contributing to RubyGems.




No packages published