Clarify gem install instructions regarding inspec-bin in README

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
This commit is contained in:
Clinton Wolfe 2019-05-30 10:43:18 -04:00
parent 1fc518c588
commit 639c3a7489

View file

@ -85,12 +85,19 @@ For Ubuntu:
apt-get -y install ruby ruby-dev gcc g++ make
```
To install inspec from [rubygems](https://rubygems.org/):
To install the `inspec` executable, which requires accepting the [Chef License](https://docs.chef.io/chef_license_accept.html), run:
```bash
gem install inspec-bin
```
You may also use `inspec` as a library, with no executable; this does not require accepting the license. To install the library as a gem, run:
```bash
gem install inspec
```
### Usage via Docker
Download the image and define a function for convenience: