Ruby - Gems and Bundler
You have updated the version constraints of gems in your Gemfile and want to ensure all machines use the exact same gem versions. Which Bundler command should you run to update the lock file accordingly?
bundle install after modifying the Gemfile updates the Gemfile.lock with resolved versions.bundle update updates gems to latest allowed versions but may change more than intended; bundle lock --update is not a valid command; bundle install --deployment installs gems using the lock file but does not update it.bundle install to update Gemfile.lock [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions