[Ruby] [Memo] Difference between bundle install and update

less than 1 minute read

When I tried to #bundle install, I was angry to do a bundle update.

When I checked…


Can be omitted to $ bundle install #bundle

Compare the contents of Gemfile.lock with before the bundle install and only install updated gems


$ bundle update

Ignore the contents of Gemfile.lock and install all gems

that’s all!