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

gem resource breaks if not using a different installation path #107

Closed
howdoicomputer opened this issue Oct 10, 2016 · 2 comments
Closed

Comments

@howdoicomputer
Copy link

  gem package
     ✖  kitchen-ec2 should be installed
     expected that `gem package kitchen-ec2` is installed
vagrant@default-ubuntu-1604:/etc/systemd/system$ gem list -i kitchen-ec2
true
vagrant@default-ubuntu-1604:/etc/systemd/system$ which gem
/opt/chefdk/embedded/bin/gem
@howdoicomputer
Copy link
Author

howdoicomputer commented Oct 10, 2016

General pathy-ness. I'm probably doing something silly since it's three in the morning.

I'll just use this test for now:

describe bash('/opt/chefdk/embedded/bin/gem list -i kitchen-ec2') do
  its('exit_status') { should eq 0 }
end

@chris-rock
Copy link
Collaborator

@howdoicomputer This is an issue in https://github.com/chef/inspec I opened a ticket there.

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

2 participants