开发者

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

开发者 https://www.devze.com 2023-01-18 22:01 出处:网络
We\'re transitioning from \'frozen\' rails gems to using bun开发者_JAVA技巧dler and would like to maintain the rails gems with patches, merges etc. say from an external git source.What\'s the easiest

We're transitioning from 'frozen' rails gems to using bun开发者_JAVA技巧dler 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.?


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"
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号