From 65dcf4f030e69a834b330f62ea751aa094261e25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steven!=20Ragnar=C3=B6k?= Date: Thu, 18 Jul 2024 10:05:37 -0700 Subject: [PATCH] Document use of vendor/bundle in README.md. --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b4690a..3a0d927 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,12 @@ kitchen login jenkins ### Installing test kitchen with RubyGems If the chef workstation isn't available for your platform you can install test kitchen with RubyGems and Bundler. -You'll need Ruby, ideally Ruby 2.7, RubyGems, and Bundler. +You'll need Ruby, ideally Ruby >= 2.7, RubyGems, and Bundler. + +To install gems locally without affecting system- or user-wide installation, set a vendor path: +``` +bundle config set --local path vendor/bundle +``` Run `bundle install` to install the gems declared in `gems.rb`. In order to use test kitchen from bundler all kitchen commands must be prefixed with `bundle exec`. For example: