gem-patch - a tool for patching gems

Josef Stribny jstribny at redhat.com
Tue Oct 2 11:41:09 UTC 2012


Hi,

I want to let you know about gem-patch plugin that I made for both RubyGems 1.8.x and 2.0.x. 

gem-patch is a RubyGems plugin that helps to patch gems without manually opening and rebuilding them.
It adds the `patch` command which opens a given .gem file, extracts it, patches it with system patch command,
clones its spec, updates the file list and builds the patched gem. 

Intended as a new feature of RubyGems [1], it has been released as a gem [2], and source code (with separated branches
for RubyGems 1.8 and 2.0) is available on GitHub [3].

To use it:
- install the gem (0.1.1)
gem install gem-patch 
- and patch:
gem patch GEMFILE PATCH [PATCH ...]

Regards
Josef

[1] https://github.com/rubygems/rubygems/pull/381
[2] https://rubygems.org/gems/gem-patch
[3] http://github.com/strzibny/gem-patch


More information about the ruby-sig mailing list