On Wed, Jun 29, 2011 at 2:27 PM, Edward Sargisson email@example.com wrote:
I’m running Ubuntu 10.10 on my desktop and sudo gem install chef ran
successfully but knife and chef-client didn’t appear in the default
I’m not familiar enough with how ruby and gem put things into the path
(symlinks in /usr/bin?) so could somebody please point me a suitable
document to figure this out?
The gem binaries are installed into different places depending on
distribution. As was mentioned, current versions of Debian and Ubuntu
use /var/lib/gems/1.8/bin, which you will need to add to your PATH
variable. Depending on your shell, you can do this system-wide by
adding “PATH=$PATH:/var/lib/gems/1.8/bin” to /etc/profile. Future
versions of the Debian and Ubuntu rubygems package will install
binaries in /usr/local/bin.