Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspec fails to install on centos 7 #1597

Closed
anandchida opened this issue Mar 25, 2017 · 1 comment
Closed

inspec fails to install on centos 7 #1597

anandchida opened this issue Mar 25, 2017 · 1 comment

Comments

@anandchida
Copy link

anandchida commented Mar 25, 2017

Description

Briefly describe the issue and the expected behavior

# gem install inspec   

above command fails on centos 7 with

ERROR:  Error installing inspec:
	nokogiri requires Ruby version >= 2.1.0.

InSpec and Platform Version

Linux localhost.localdomain 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Ruby version on centos 7 is

ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

centos 7 instance is up-to-date

@adamleff
Copy link
Contributor

@anandchida thanks for submitting this issue. You will need to update your Ruby version to at least 2.1 because of the nokogiri dependency. Ruby 2.0 is end-of-support (as of Feb 2016). Ruby 2.1 is still in maintenance but only for security updates.

I will put forth a change to require Ruby 2.1 for InSpec for the rest of the maintainers to review. Sorry for the inconvenience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants