Action | Description | Default |
---|---|---|
install | Build and install an RVM Ruby. See RVM rubies/installing(1) for more details. | Yes |
remove | Remove the Ruby, source files and optional gemsets/archives. See RVM rubies/removing(2) for more details. | |
uninstall | Just remove the Ruby and leave everything else. See RVM rubies/removing(3) for more details. |
Attribute | Description | Default Value |
---|---|---|
ruby_string |
Name attribute: an RVM Ruby string that could contain a gemset.
If a gemset is given (for example,
"ruby-1.8.7-p330@awesome" ), then it will be stripped.
|
nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the user
must already exist.
|
nil |
Action | Description | Default |
---|---|---|
create | Set the default RVM Ruby. See RVM rubies/default(1) for more details. | Yes |
Attribute | Description | Default Value |
---|---|---|
ruby_string |
Name attribute: an RVM Ruby string that could contain a gemset.
If a gemset is given (for example,
"ruby-1.8.7-p330@awesome" ), then it will be included.
|
nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
Action | Description | Default |
---|---|---|
create | Installs the specified RVM Ruby and gemset. | Yes |
Attribute | Description | Default Value |
---|---|---|
ruby_string |
Name attribute: an RVM Ruby string that could contain a gemset.
If a gemset is given (for example,
"ruby-1.8.7-p330@awesome" ), then it will be used.
|
nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
Action | Description | Default |
---|---|---|
create | Creates a new gemset in a given RVM Ruby. See RVM gemsets/creating(1) for more details. | Yes |
update | Update all gems installed to the gemset in a given RVM Ruby. | |
empty | Remove all gems installed to the gemset in a given RVM Ruby. See RVM gemsets/emptying(2) for more details. | |
delete | Delete gemset from the given RVM Ruby. See RVM gemsets/deleting(3) for more details. |
Attribute | Description | Default Value |
---|---|---|
gemset |
Name attribute: Either an RVM Ruby string containing a gemset
or a bare gemset name. If only the gemset name is given, then the
ruby_string attribute must be used to indicate which
RVM Ruby to target.
|
nil |
ruby_string | An RVM Ruby string that should not contain a gemset. | nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
Action | Description | Default |
---|---|---|
install | Install a gem - if version is provided, install that specific version. | Yes |
upgrade | Upgrade a gem - if version is provided, upgrade to that specific version | |
remove | Remove a gem. | |
purge | Purge a gem. |
Attribute | Description | Default Value |
---|---|---|
package_name | Name attribute: the name of the gem to install. | nil |
version | The specific version of the gem to install/upgrade. | nil |
options | Add additional options to the underlying gem command. | nil |
source | Provide an additional source for gem providers (such as RubyGems). | nil |
gem_binary | A gem_package attribute to specify a gem binary. | "gem" |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
Action | Description | Default |
---|---|---|
install | Install a gem across all Rubies - if version is provided, install that specific version. | Yes |
upgrade | Upgrade a gem across all Rubies - if version is provided, upgrade to that specific version. | |
remove | Remove a gem across all Rubies. | |
purge | Purge a gem across all Rubies. |
Attribute | Description | Default Value |
---|---|---|
package_name | Name attribute: the name of the gem to install. | nil |
ruby_string |
An RVM Ruby string that could contain a gemset. If a gemset is given
(for example, "ruby-1.8.7-p330@awesome" ), then it will
be used.
|
"default" |
version | The specific version of the gem to install/upgrade. | nil |
options | Add additional options to the underlying gem command. | nil |
source |
Provide an additional source for gem providers (such as RubyGems).
This can also include a file system path to a .gem file
such as /tmp/json-1.5.1.gem .
|
nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
Action | Description | Default |
---|---|---|
run | Run the script | Yes |
nothing | Do not run this command |
Attribute | Description | Default Value |
---|---|---|
name | Name attribute: Name of the command to execute. | name |
ruby_string |
An RVM Ruby string that could contain a gemset. If a gemset is given
(for example, "ruby-1.8.7-p330@awesome" ), then it will
be used.
|
"default" |
code | Quoted script of code to execute. | nil |
creates | A file this command creates - if the file exists, the command will not be run. | nil |
cwd | Current working director to run the command from. | nil |
environment | A hash of environment variables to set before running this command. | nil |
group | A group or group ID that we should change to before running this command. | nil |
path | An array of paths to use when searching for the command. | nil , uses system path |
returns | The return value of the command (may be an array of accepted values) - this resource raises an exception if the return value(s) do not match. | 0 |
timeout | How many seconds to let the command run before timing out. | nil |
user | A user name or user ID that we should change to before running this command. | nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the
user must already exist.
|
nil |
umask | Umask for files created by the command. | nil |
Action | Description | Default |
---|---|---|
create | Creates on or more wrapper scripts. | Yes |
Attribute | Description | Default Value |
---|---|---|
prefix | Name attribute: a prefix string for the wrapper script name. | nil |
ruby_string |
An RVM Ruby string that could contain a gemset. If a gemset is given
(for example, "ruby-1.8.7-p330@awesome" ), then it will
be used.
|
nil |
binary |
A single binary to be wrapped. If this attribute is used do not set
values for the binaries attribute.
|
nil |
binaries |
A list of binaries to be wrapped. If this attribute is used do not set
a value for the binary attribute.
|
nil |
user |
A users's isolated RVM installation on which to apply an action. The
default value of nil denotes a system-wide RVM
installation is being targeted. Note: if specified, the user
must already exist.
|
nil |