- From: Kevin Yank <
>
- To: <
>
- Subject: [chef] Re: Re: Re: Chef-server 10.14 gem appears to be broken
- Date: Tue, 11 Sep 2012 09:35:51 +1000
Tim,
Any chance the files were installed in /usr/local/bin?
I reported a bug with the chef-server::rubygems-install recipe under Precise last week that was leaving me in the same state (albeit with Chef Server 10.12.0):
-- Kevin Yank Chief Technology Officer, Avalanche Technology Group / AVG (AU/NZ) Pty Ltd
2/101 Tulip Street, Sandringham Victoria 3191 Australia ph: +61 3 9581 0806
On 11/09/2012, at 8:02 AM, Tim Smith <
">
> wrote:
The environment was a stock Precise setup without any changes. I just used chef-solo to do a server install and everything but the server actually installed. I've since backed out 10.14 and just used 10.12 so I don't have much information to give you
Tim Smith
|
|
Operations Engineer, SaaS Operations
|
|
M: +1
707.738.8132
|
|
TW: @tas50
|
|
|
|
Real-Time Relevance. Remarkable ROI.™
|
|
London | Portland | San Francisco | Melbourne | Tokyo
|
From: Bryan McLellan <
">
>
Reply-To: "
">
" <
">
>
Date: Monday, September 10, 2012 2:52 PM
To: "
">
" <
">
>
Subject: [chef] Re: Chef-server 10.14 gem appears to be broken
On Sat, Sep 8, 2012 at 11:38 PM, Tim Smith
<
" target="_blank">
> wrote:
:/usr/local/bin# gem install chef-server
Successfully installed chef-server-10.14.0
1 gem installed
Installing ri documentation for chef-server-10.14.0...
Installing RDoc documentation for chef-server-10.14.0...
:/usr/local/bin# chef-server
chef-server: command not found
:/usr/local/bin#
If I search the system for chef-server after doing a chef-solo install all I get is a bunch of broken links to the actual binary. If I specify the 10.12.0 version of the gem it installs without any problems.
What's your ruby environment like? Are you using anything fancy like rvm/rbenv? Do you have rubygems installed from source? Is it installed more than once?
What version of 'chef-server-api' is installed? That is where the binary is (chef-server is just a meta-package).
$ gem contents chef-server-api | grep bin
/usr/lib/ruby/gems/1.8/gems/chef-server-api-10.14.0/bin/chef-server
Bryan
|
Archive powered by MHonArc 2.6.16.