Back to Chef

Updating Dependencies

docs/dev/how_to/updating_dependencies.md

19.2.126738 B
Original Source

Updating Dependencies

If you want to change our constraints (change which packages and versions we accept in the chef), there are several places to do so:

  • Gemfile and Gemfile.lock: All gem version constraints (update with bundle update)
  • habitat/plan.sh and habitat/plan.ps1: pinned package build and runtime dependency configuration for Habitat builds.

In order to update everything, run rake dependencies. Note that the Gemfile.lock pins Windows platform gems, and to fully regenerate the lockfile, you must use the following commands, or run rake dependencies:update_gemfile_lock:

bash
bundle lock --update --add-platform ruby x64-mingw32 x86-mingw32