[chef] Re: Gem Sources configured with .gemrc


Chronological Thread 
  • From: Tyler < >
  • To:
  • Subject: [chef] Re: Gem Sources configured with .gemrc
  • Date: Tue, 17 Dec 2013 16:35:52 -0800 (PST)

Aaaaaand I immediately figured out how to do this.  Sometimes all you have to
do is ask the question to figure out the answer:

ruby_block "refresh_gemrc" do
  action :nothing
  block do
    Gem.configuration = Gem::ConfigFile.new []
  end
end

Then I use a 'notifies' from the provider used to write out the gemrc file, 
and
voila!


  • [chef] Re: Gem Sources configured with .gemrc, Tyler, 12/17/2013

Archive powered by MHonArc 2.6.16.

§