Hi
I wonder if someone would mind pointing out what is probably the obvious? I am unable to get gems to load in chefdk / local run.
Output below, it says the gem is installed and up to date but cannot load it;
Synchronizing Cookbooks:
- redfish_testbook (0.1.0)
Installing Cookbook Gems:
Running handlers:
[2019-07-10T19:29:59+01:00] ERROR: Running exception handlers
Running handlers complete
[2019-07-10T19:29:59+01:00] ERROR: Exception handlers complete
Chef Infra Client failed. 0 resources updated in 25 seconds
[2019-07-10T19:29:59+01:00] FATAL: Stacktrace dumped to C:/Users/chefacct/.chef/local-mode-cache/cache/chef-stacktrace.out
[2019-07-10T19:29:59+01:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2019-07-10T19:29:59+01:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of bundle install ----
STDOUT:
STDERR: internal:gem_prelude:2:in require': cannot load such file -- rubygems.rb (LoadError) from <internal:gem_prelude>:2:in
internal:gem_prelude'
---- End output of bundle install ----
Ran bundle install returned 1
Any suggestions welcome.
Tks
Ad