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

Workstation 0.5.1 - inspec error #404

Closed
kmf opened this issue Jul 10, 2019 · 6 comments
Closed

Workstation 0.5.1 - inspec error #404

kmf opened this issue Jul 10, 2019 · 6 comments
Labels
Status: Adopted An issue that is being worked on.

Comments

@kmf
Copy link

kmf commented Jul 10, 2019

Running inspec from chef-workstation, I get this error

WARN: Unresolved or ambigious specs during Gem::Specification.reset:
      bundler (>= 1.10)
      Available/installed versions of this gem:
      - 1.17.3
      - 1.17.2
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.

When I run inspec from the normal package I don't get an error.

@kmf kmf added the Status: Untriaged An issue that has yet to be triaged. label Jul 10, 2019
@btm
Copy link
Contributor

btm commented Jul 11, 2019

This will be fixed soon in the next release by chef-boneyard/chef-dk#2184.

@ericcalabretta
Copy link

What's the workaround to use InSpec with Chef-Workstation? I'm in Chef Workstation 0.6.2 and have the identical error when I try to use InSpec.

@logan-pugh
Copy link

I think this issue is still present in Chef Workstation 0.6.2:

PS C:\opscode\chef-workstation\bin> chef --version
Chef Workstation version: 0.6.2
Chef Infra Client version: 15.1.36
Chef InSpec version: 4.7.3
Test Kitchen version: 2.2.5
Foodcritic version: 16.1.1
Cookstyle version: 5.0.0
PS C:\opscode\chef-workstation\bin> inspec --version
WARN: Unresolved or ambigious specs during Gem::Specification.reset:
      bundler (>= 1.10)
      Available/installed versions of this gem:
      - 1.17.3
      - 1.17.2
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
4.7.3

@marcparadise
Copy link
Member

Thanks for the updated info. We've identified the cause and are working to get a release out tomorrow.

Unfortunately, there is no workaround for this.

@marcparadise marcparadise added Status: Adopted An issue that is being worked on. and removed Status: Untriaged An issue that has yet to be triaged. labels Jul 15, 2019
@marcparadise
Copy link
Member

Fixed in #413 and #412.

@Stromweld
Copy link
Collaborator

It's also present in when running test-kitchen. I'm on chef-workstation 0.6.2 as well.

Chef Workstation version: 0.6.2
Chef Infra Client version: 15.1.36
Chef InSpec version: 4.7.3
Test Kitchen version: 2.2.5
Foodcritic version: 16.1.1
Cookstyle version: 5.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Adopted An issue that is being worked on.
Projects
None yet
Development

No branches or pull requests

6 participants