Explains how to install a plugin for the Chef knife tool

Chef Knife plugins are typically distributed as Ruby "gems", and are installed using the "gem" tool.

The catch is that if you are using Chef installed in the "omnibus" way, you need to install Chef Knife plugins into the embedded Ruby installation ... not the general system one.  But it is simply a matter of running the embedded version of the "gem" utility; e.g.

        sudo /opt/chef/embedded/bin/gem install knife-github-cookbooks
Filed under: ,