Hi, I’m trying to set up chef (and especially knife) for a local development on my local machine. I use rbenv + bundler to manage ruby and packages. Server is in 14.13.11 so I have installed chef gem with that particular version too. I have a working .chef/ setup as when I use it on another machine, everything works fine. However, when I use it on my local machine, I get:
/Users/me/.rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- chef/rest (LoadError)```
even when I use `knife help` . Any ideas? I'm asking here before I create a ticket.
Ir you’re trying to do it on your own you’re going to have to figure out the ruby versions that chef-client supports. in the april following the ruby version release we update the client os that it runs on it. so chef-client 17 for ruby 3.0 is current. chef-client 16 was current when ruby 2.7 was released