gem-patch - a tool for patching gems

John Eckersberg jeckersb at redhat.com
Tue Oct 2 13:26:47 UTC 2012


Josef Stribny <jstribny at redhat.com> writes:
> 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
> _______________________________________________
> ruby-sig mailing list
> ruby-sig at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/ruby-sig

Very cool, that has always annoyed me when applying patches for gem RPMs.


More information about the ruby-sig mailing list