salt.modules.gem

Manage ruby gems.

Members

install

salt.modules.gem.install(gems, ruby=None, runas=None)

Installs one or several gems.

gems
The gems to install.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

list

salt.modules.gem.list(prefix='', ruby=None, runas=None)

List locally installed gems.

prefix :
Only list gems when the name matches this prefix.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

sources_add

salt.modules.gem.sources_add(source_uri, ruby=None, runas=None)

Add a gem source.

source_uri
The source URI to add.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

sources_list

salt.modules.gem.sources_list(ruby=None, runas=None)

List the configured gem sources.

ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

sources_remove

salt.modules.gem.sources_remove(source_uri, ruby=None, runas=None)

Remove a gem source.

source_uri
The source URI to remove.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

uninstall

salt.modules.gem.uninstall(gems, ruby=None, runas=None)

Uninstall one or several gems.

gems
The gems to uninstall.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

update

salt.modules.gem.update(gems, ruby=None, runas=None)

Update one or several gems.

gems
The gems to update.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

update_system

salt.modules.gem.update_system(version='', ruby=None, runas=None)

Update rubygems.

version : (newest)
The version of rubygems to install.
ruby : None
If RVM is installed, the ruby version and gemset to use.
runas : None
The user to run gem as.

Parent topic

Table Of Contents

Previous topic

salt.modules.freebsdservice

Next topic

salt.modules.gentoo_service