Closed electriquo closed 3 years ago
when i run chef-zero i am getting the following error
chef-zero-15.0.3/lib/chef_zero/server.rb:26:in `require': cannot load such file -- webrick (LoadError)
i see that webrick is required in the code, but there is no dependency on it (at least in the gemspec or any transitive dependency)
https://github.com/chef/chef-zero/blob/11834dc46868ebb6f3c84659c15822583b3cfd44/lib/chef_zero/server.rb#L26
these are the chef et el versions that i am using in conjunction to ruby 3
$ bundle list | grep chef * chef (16.8.14) * chef-cli (3.0.33) * chef-config (16.8.14) * chef-telemetry (1.0.14) * chef-utils (16.8.14) * chef-vault (4.1.0) * chef-zero (15.0.3) * chefspec (9.2.1) $ bundle exec ruby --version ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin20]
i came across the issue directly and even when executing chefspec
when i add webrick to my Gemfile, everything works flawlessly
when i run chef-zero i am getting the following error
i see that webrick is required in the code, but there is no dependency on it (at least in the gemspec or any transitive dependency)
https://github.com/chef/chef-zero/blob/11834dc46868ebb6f3c84659c15822583b3cfd44/lib/chef_zero/server.rb#L26
these are the chef et el versions that i am using in conjunction to ruby 3
i came across the issue directly and even when executing chefspec
when i add webrick to my Gemfile, everything works flawlessly