Freezing Rails gem versions

后端 未结 2 2022
失恋的感觉
失恋的感觉 2021-01-23 10:23

I am trying to freeze my Rails gem version as, day by day, some or the other gem version gets updated and sometimes I need to update the code.

I tried rake rails:f

2条回答
  •  鱼传尺愫
    2021-01-23 11:05

    rake rails:freeze:gems is an old Rails 2 way of doing it. I think you want to use Bundler's bundle install vendor/gems

    "How do I freeze gems into a Rails 3 application?" seem to answer it better.

提交回复
热议问题