tribalvibes
tribalvibes

Reputation: 2107

What's the easiest way to maintain a patched set of rails gems, with bundler?

We're transitioning from 'frozen' rails gems to using bundler and would like to maintain the rails gems with patches, merges etc. say from an external git source. What's the easiest way to set this up, adding gemspecs to the patch branches etc.?

Upvotes: 2

Views: 125

Answers (1)

RyanWilcox
RyanWilcox

Reputation: 13974

I would store them on a place accessible to bundler (like a public repo on github), in your gemfile use the :git=> option like

gem "nokogiri", :git =>
  "git://github.com/tenderlove/nokogiri.git"

Upvotes: 1

Related Questions