[chef] Re: Installing Nokogiri


Chronological Thread 
  • From: "Duane, Kevin" < >
  • To: " " < >
  • Subject: [chef] Re: Installing Nokogiri
  • Date: Wed, 9 Jul 2014 22:08:45 -0700
  • Accept-language: en-US
  • Acceptlanguage: en-US

I used the “gem_package” resource…

        gem_package nokogiri do
          options "-- --use-system-libraries"
          action :install
        end

-- 

Kevin Duane

Senior Systems Engineer

The Walt Disney Company

( 818.549.5304 | Tieline 8250.5304 | G-Voice 323.207.6292



On 7/9/14, 11:23 AM, "Kenneth Barry" < "> > wrote:

Here is what I am trying.

rbenv_gem "nokogiri" do
  ruby_version "1.9.3-p545"  
  options "-- --use-system-libraries"
end

Was getting an error telling me that Options expects a hash.

I'm not sure how to put "-- --use-system-libraries" in the form of a hash?
I've tried all sorts of syntax changes, but I am having no luck.

Anyone?



Archive powered by MHonArc 2.6.16.

§