Docs header transparent bg

bundle lock

Calculate the entire dependency tree and store the results in Gemfile.lock. Check Gemfile.lock into version control
$ bundle lock
$ git add Gemfile.lock

After you have locked your gems, you've updated your Gemfile and want to update Gemfile.lock
$ bundle lock

After you have locked your gems, you've updated your Gemfile and want to install the new gems
$ bundle install --relock