How do I freeze gems into a Rails 3 application?

后端 未结 13 2008
遇见更好的自我
遇见更好的自我 2020-12-08 16:30

I want to freeze a specific gem into my Rails application.

In rails 2 there was this command:

rake gems:unpack

I can\'t find that c

13条回答
  •  春和景丽
    2020-12-08 17:17

    Pod - If you need to modify the gem, the best practice to do this would be forking the project, making the change, then using the 'git' flag in bundler:

    git 'some_gem', :git => 'git://github.com/me/my_forked_some_gem.git'

    This way you'll be notified when the gem is updated.

提交回复
热议问题