A state module to manage rubygems. Gems can be set up to be installed or removed. This module will use RVM or rbenv if they are installed. In that case, you can specify what ruby version and gemset to target.
addressable:
gem.installed:
- user: rvm
- ruby: jruby@jgemset
Make sure that a gem is installed.
The name of the gem to install
Only for RVM or rbenv installations: the ruby version and gemset to target.
Custom gem
command to run instead of the default.
Use this to install gems to a non-default ruby install. If you are
using rvm or rbenv use the ruby argument instead.
The user under which to run the gem
command
New in version 0.17.0.
Specify the version to install for the gem. Doesn't play nice with multiple gems at once
Generate RDoc documentation for the gem(s).
Generate RI documentation for the gem(s).
Install pre-release version of gem(s) if available.
Use the specified HTTP proxy server for all outgoing traffic. Format: http://hostname[:port]
Use the specified HTTP gem source server to download gem. Format: http://hostname[:port]
Make sure that a gem is not installed.
The name of the gem to uninstall
Full path to gem
binary to use.
If RVM or rbenv are installed, the ruby version and gemset to use.
Ignored if gem_bin
is specified.
The user under which to run the gem
command
New in version 0.17.0.
Make sure that a gem source is added.
The URL of the gem source to be added
For RVM or rbenv installations: the ruby version and gemset to target.
The user under which to run the gem
command
New in version 0.17.0.
Make sure that a gem source is removed.
The URL of the gem source to be removed
For RVM or rbenv installations: the ruby version and gemset to target.
The user under which to run the gem
command
New in version 0.17.0.