- From: Bryan McLellan <
>
- To:
- Subject: [chef] Re: chef install from gem to Ubuntu not in path
- Date: Fri, 1 Jul 2011 15:20:19 -0700
On Wed, Jun 29, 2011 at 2:27 PM, Edward Sargisson
<
>
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
>
path.
>
>
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. [1]
Bryan
[1]
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403407
- [chef] Re: chef install from gem to Ubuntu not in path, Bryan McLellan, 07/01/2011
Archive powered by MHonArc 2.6.16.