How to re-sync Gemfile.lock on changes to Gemfile

To bring the Gemfile.lock in line with Gemfile edits, run bundle check.

To bring the Gemfile.lock in line with both the Gemfile edits AND the latest compatible gems, run bundle update.


Related: This blogpost by viget has some good advice on Bundler Best Practices

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)