Resource Type: rvm_gem

Defined in:
lib/puppet/type/rvm_gem.rb
Providers:
gem

Overview

Ruby Gem support using RVM.

Properties

  • ensure (defaults to: installed)

    What state the gem should be in. Possible values:

    *present* - the gem is installed
    *latest* - the gem is installed and is the latest stable version
    *absent* - the gem is not installed
    version - the gem is installed and matches the given version
    
    Supported values:
    • present
    • absent
    • installed (alias for: present)
    • latest
    • %r{.}

Parameters

  • name (namevar)

    The name of the Ruby gem.

  • provider

    The specific backend to use for this ‘rvm_gem` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • proxy_url (defaults to: '')

    Proxy to use when downloading ruby installation

  • ruby_version (namevar) (defaults to: 1.9)

    The ruby version to use. This should be the fully qualified RVM string (including gemset if applicable). For example: ‘ruby-1.9.2-p136@mygemset’ For a full list of known strings: ‘rvm list known_strings`.

  • source

    If a URL is passed via, then that URL is used as the remote gem repository; if a source is present but is not a valid URL, it will be interpreted as the path to a local gem file. If source is not present at all, the gem will be installed from the default gem repositories.

  • withopts

    Install the gem with these makefile opts.