Sets a custom gem_binary to run for gem commands.
# File lib/chef/resource/gem_package.rb, line 36 def gem_binary(gem_cmd=nil) set_or_return(:gem_binary,gem_cmd,:kind_of => [ String ]) end
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 46 def options(opts=nil) set_or_return(:options,opts,:kind_of => [String,Hash]) end
Generated with the Darkfish Rdoc Generator 2.