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

could not find valid gem 'inspec' #194

kmanohar1 opened this Issue Feb 10, 2017 · 2 comments


None yet
2 participants

kmanohar1 commented Feb 10, 2017

My node does NOT have internet connection. I get his error while running chef-client.

STDERR: ERROR: Could not find a valid gem 'inspec' (= 1.8.0), here is why:
Unable to download data from - Errno::EHOSTUNREACH: Failed to open TCP connection to (No route to host - connect(2) for "" port 443) (


This comment has been minimized.


vjeffrey commented Feb 13, 2017

hi @kmanohar1; sorry to hear that :( We've played around with a couple ideas for solving the issue of getting the inspec gem in airgapped environments (#112, #165)

If you have an internal gem repo, you could use this functionality:

curious: what would best solve your needs, of the options above or other?


This comment has been minimized.

kmanohar1 commented Feb 13, 2017

Thank you so much. Overriding 'inspec_gem_source' attribute worked for me.

@kmanohar1 kmanohar1 closed this Feb 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment