Install the pkg-config gem
[chef.git] / cookbooks / web / resources / rails_port.rb
index 44c42470c20d7443b3ef90654e707b3d4aad7cc7..70c334e1ea232febb4fc4bf0a93146ebb9e94c5a 100644 (file)
@@ -107,6 +107,11 @@ action :create do
     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