- From: "Jeffrey E. Sussna" <
>
- To:
- Subject: [chef] Re: Re: Re: chef-server runit failing on Ubuntu
- Date: Sun, 29 May 2011 20:42:19 -0500
Seems like pretty much anything involving Ruby and app installs is a game of
whack-a-mole :-(.
On May 28, 2011, at 4:14 AM, Haselwanter Edmund wrote:
>
>
On 28.05.2011, at 00:57,
>
<
>
>
>
<
>
>
wrote:
>
>
> Figured it out:
>
>
>
> The call to "exec /usr/bin/env chef-server" in the /etc/sv/chef-server/run
>
> script fails because the chef-server exec isn't on the path. Adding
>
> /opt/ruby/bin to PATH solves the problem. Same holds for
>
> /etc/sv/chef-server-webui/run. So either the run script is wrong or else
>
> the
>
> exes didn't get put in the right place.
>
>
I think this is again an issue with rubygems. The bin path of the rubygems
>
is a moving target.
>
On the last lucid32 Vagrant instance rubygems 1.7 is installed which has
>
/opt/ruby/bin as bin path.
>
>
the wget rubygems 1.3.7 install has /usr/bin as path
>
>
the path in runit recipes (e.g. god) expects /usr/bin
>
>
very annoying
>
>
cu edi
>
>
--
>
DI Edmund Haselwanter,
>
,
>
http://edmund.haselwanter.com/
>
http://www.iteh.at | http://facebook.com/iTeh.solutions |
>
http://at.linkedin.com/in/haselwanteredmund
>
>
>
>
>
Archive powered by MHonArc 2.6.16.