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
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
rake rails:freeze:gems
bundle install vendor/gems
"How do I freeze gems into a Rails 3 application?" seem to answer it better.
This locks and then caches the gems into ./vendor/cache.
$ bundle package
Refer this link