[chef] Re: Re: gem_package with local gem file barfs...


Chronological Thread 
  • From: Ringo De Smet < >
  • To:
  • Subject: [chef] Re: Re: gem_package with local gem file barfs...
  • Date: Thu, 10 Feb 2011 08:43:16 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=NfTsZiWgHHJdhLVgzhajnu0i4/ViHflunv38aGQWHn8xQOc/i4mJc6tLNpkH9Ma1Qi GaqK9SgGfIlHQSoEf+E3o/e4Cgp7pnz7GJ9pCuSIa+fQU5CKI9MSFjuWR4xBvxkr8LgU qS/Tz1L8w1dwATHUl1AagsdnQeZmHN8xmYyGA=

Dan,

On 10 February 2011 07:05, Daniel DeLeo 
< >
 wrote:
> On Wednesday, February 9, 2011 at 6:36 AM, Ringo De Smet wrote:
>
> When adding the gem_binary option to the resource, it works like a charm:
>
> gem_package "#{Chef::Config['file_cache_path']}/#{ohaiGem}" do
> action :install
> version ohaiGemVersion
> gem_binary "gem" #Needed to use a gem command line client
> notifies :restart, "service[chef-client]"
> end
>
>
> Bug?
>
> Definitely. What version of rubygems?

This is on rubygems 1.4.2. This is the version that came with the
Vagrant lucid64 base box, so you can easily reproduce it that way.

Ringo



Archive powered by MHonArc 2.6.16.

§