A combination of silliness in nokogiri (adding -Wextra) and in
ruby's mkmf (enabling -Werror for test links) means that the pkg_config
function provided by mkmf doesn't work when installing nokogiri using
system libraries.
options "--format-executable"
end
+ gem_package "bundler#{new_resource.ruby}" do
+ package_name "pkg-config"
+ gem_binary "gem#{new_resource.ruby}"
+ end
+
declare_resource :directory, rails_directory do
owner new_resource.user
group new_resource.group