Closed eklein closed 10 years ago
Oops, additionally, here's where you find busser on that system:
[vagrant@default-centos-64-x86-64 ~]$ which busser
/usr/local/rvm/gems/ruby-1.9.3-p327/bin/busser
Thank you for the report. We believe this has been fixed as a result of 16fb8c29ca.
Nice, thank you!!
When trying to run a kitchen verify against an image that has a system-level rvm installed ruby, busser install fails. As best I can tell, this is because rvm gets in the way of the gem install, forcing busser to be installed in the rvm installed ruby no matter what. Test-kitchen then attempts to look for busser in the default locations (/opt/chef/embedded/...) and fails.
This is using test-kitchen 1.0.0.beta.3 after including 'chef-rvm::system' in the runlist.
Output of failed kitchen verify:
Despite the fact that
/opt/chef/embedded/bin/gem install busser
is being called explicitly, busser is installed in the rvm system ruby. If you login to the system, here's what you have:As a result, when test-kitchen looks for busser in /opt/chef/embedded/bin, it fails.
If you remove the system-level rvm installed ruby, kitchen verify succeeds.
Please let me know if any additional information would be helpful.