[chef] Re: Re: Installing Nokogiri


Chronological Thread 
  • From: Ranjib Dey < >
  • To: " " < >
  • Subject: [chef] Re: Re: Installing Nokogiri
  • Date: Wed, 9 Jul 2014 22:38:53 -0700

what version of chef you are using, rbenv_gem should accept both string or hash[1], 
also looking at the code trail (2,3,4) , may be you can pass :build_args => ['-- --use-system-libraries'] , but i have not tried this,

ranjib


On Wed, Jul 9, 2014 at 10:08 PM, Duane, Kevin < " target="_blank"> > wrote:
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




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.

§