class Chef::Resource::GemPackage

Public Instance Methods

options() click to toggle source

Options for the gem install, either a Hash or a String. When a hash is given, the options are passed to Gem::DependencyInstaller.new, and the gem will be installed via the gems API. When a String is given, the gem will be installed by shelling out to the gem command. Using a Hash of options with an explicit gem_binary will result in undefined behavior.

# File lib/chef/resource/gem_package.rb, line 56
property :options, [ String, Hash, Array, nil ], desired_state: false