Skip to content

Commit

Permalink
Document use of vendor/bundle in README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Jul 18, 2024
1 parent 661d247 commit 179abb9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 >= 3.2, 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:
Expand Down

0 comments on commit 179abb9

Please sign in to comment.