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 Sep 26, 2024
1 parent 8245ee7 commit 65dcf4f
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 >= 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:
Expand Down

0 comments on commit 65dcf4f

Please sign in to comment.