summaryrefslogtreecommitdiff
path: root/lib/chef/resource/gem_package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/gem_package.rb')
-rw-r--r--lib/chef/resource/gem_package.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/gem_package.rb b/lib/chef/resource/gem_package.rb
index 0f6fd413ca..e057cbd485 100644
--- a/lib/chef/resource/gem_package.rb
+++ b/lib/chef/resource/gem_package.rb
@@ -17,6 +17,7 @@
#
require "chef/resource/package"
+require "chef/dist"
class Chef
class Resource
@@ -44,7 +45,7 @@ class Chef
default: lazy { Chef::Config[:clear_gem_sources] }, desired_state: false
property :gem_binary, String, desired_state: false,
- description: "The path of a gem binary to use for the installation. By default, the same version of Ruby that is used by the chef-client will be installed."
+ description: "The path of a gem binary to use for the installation. By default, the same version of Ruby that is used by the #{Chef::Dist::CLIENT} will be installed."
property :include_default_source, [ TrueClass, FalseClass ],
description: "Set to 'false' to not include 'Chef::Config[:rubygems_url]'' in the sources.",