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.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
exe
lib
.gitignore
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
rgdev.gemspec

README.md

Rgdev

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

Dependencies

  1. Docker
  2. Git
  3. Ruby

Usage

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.

Contributing

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.

License

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.