mirror of
https://github.com/inspec/inspec
synced 2024-11-14 17:07:09 +00:00
Merge pull request #655 from chef/dr/readme-requirements
add requirements for gem installation to readme
This commit is contained in:
commit
5487457984
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -47,6 +47,22 @@ InSpec requires Ruby ( >1.9 ).
|
|||
|
||||
### Install it via rubygems.org
|
||||
|
||||
When installing from source, gem dependencies may require ruby build tools to be installed.
|
||||
|
||||
For CentOS/RedHat/Fedora:
|
||||
|
||||
```bash
|
||||
yum -y install ruby ruby-devel make gcc
|
||||
```
|
||||
|
||||
For Ubuntu:
|
||||
|
||||
```bash
|
||||
apt-get -y install ruby ruby-dev gcc make
|
||||
```
|
||||
|
||||
To install inspec from [rubygems](https://rubygems.org/):
|
||||
|
||||
```bash
|
||||
gem install inspec
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue