]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ruby/recipes/default.rb
palulukon: Allow access to AWS IP metadata NTP service
[chef.git] / cookbooks / ruby / recipes / default.rb
index 3ec7b03295596c1d54a4c9ce899c3ec399d4078b..a2833aefaf5e644d9be698acebc95f0f1cea0cdf 100644 (file)
@@ -29,13 +29,13 @@ package %W[
 gem_package "bundler#{ruby_version}-1" do
   package_name "bundler"
   version "~> 1.17.3"
 gem_package "bundler#{ruby_version}-1" do
   package_name "bundler"
   version "~> 1.17.3"
-  gem_binary "gem#{ruby_version}"
+  gem_binary node[:ruby][:gem]
   options "--format-executable"
 end
 
 gem_package "bundler#{ruby_version}-2" do
   package_name "bundler"
   version "~> 2.3.16"
   options "--format-executable"
 end
 
 gem_package "bundler#{ruby_version}-2" do
   package_name "bundler"
   version "~> 2.3.16"
-  gem_binary "gem#{ruby_version}"
+  gem_binary node[:ruby][:gem]
   options "--format-executable"
 end
   options "--format-executable"
 end