# Knife compliance bug in new chef-workstation 26?

**URL:** <https://discourse.chef.io/t/knife-compliance-bug-in-new-chef-workstation-26/24712>\
**Category:** Chef Workstation\
**Created:** [April 21, 2026, 12:16pm UTC](https://discourse.chef.io/t/knife-compliance-bug-in-new-chef-workstation-26/24712 "2026-04-21T12:16:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven.Z](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/steven.z/32/4543_2.png) [@Steven.Z](https://discourse.chef.io/u/Steven.Z)\
**Post date:** [April 21, 2026, 12:16pm UTC](https://discourse.chef.io/t/knife-compliance-bug-in-new-chef-workstation-26/24712/1 "2026-04-21T12:16:17Z")

</div>

knife compliance  
internal /hab/pkgs/core/ruby3\_4/3.4.8/20260306111612/lib/ruby/3.4.0/rubygems/core\_ext/kernel\_require.rb:136:in 'Kernel#require': cannot load such file -- html/table (LoadError)from internal /hab/pkgs/core/ruby3\_4/3.4.8/20260306111612/lib/ruby/3.4.0/rubygems/core\_ext/kernel\_require.rb:136:in 'Kernel#require'from /opt/fedex/chefdev/.chef/plugins/knife/compliance.rb:12:in 'block in class:Compliance'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:248:in 'Array#each'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:248:in 'Chef::Knife.load\_deps'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/knife.rb:233:in 'Chef::Knife.run'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/lib/chef/application/knife.rb:166:in 'Chef::Application::Knife#run'from /hab/pkgs/chef/knife/19.0.105/20260408092022/vendor/gems/knife-19.0.105/bin/knife:24:in ''

---

<div class="post-metadata">

**Author:** ![Steven.Z](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/steven.z/32/4543_2.png) [@Steven.Z](https://discourse.chef.io/u/Steven.Z)\
**Post date:** [May 12, 2026, 8:13am UTC](https://discourse.chef.io/t/knife-compliance-bug-in-new-chef-workstation-26/24712/2 "2026-05-12T08:13:58Z")

</div>

We are currently evaluating Chef Workstation 26 in an existing enterprise environment that historically relied on `knife compliance` to execute InSpec compliance profiles and generate HTML reports (for example: `knife compliance --profile <profile> --format html`).

In Chef Workstation 25, this workflow operates as expected. After upgrading to Chef Workstation 26 (hab-based distribution), the same command is still available in the CLI help, but execution fails at runtime with missing Ruby dependencies (e.g. `html/table`), indicating that the Compliance/InSpec reporting runtime is no longer included.

At the moment, this forces us to keep both Chef Workstation 25 and 26 side-by-side, which increases operational complexity. We would like to understand:

1. Whether `knife compliance` is considered deprecated or unsupported in Chef Workstation 26.

2. If there is a planned future release where equivalent Compliance / InSpec functionality (including HTML report generation) will be reintroduced or officially supported in Workstation.

3. If not, what the recommended, supported migration path is for customers who previously depended on `knife compliance` as part of their compliance reporting workflows.

Any clarification on the intended product direction would help us plan our tooling strategy going forward.
