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
rake rails:f
This locks and then caches the gems into ./vendor/cache.
$ bundle package
Refer this link