Rubygems::require_gem
Make sure a gem is available
Signature
public function require_gem(string
$gem,
[string
$version = NULL,
[boolean
$tryupdating = false]] )
Parameters
$gem
— string- - the name of the gem to install
$version
— string- - the specific version to install
$tryupdating
— boolean- - if the gem is present, check for update? (hits the internet, so slow)
Returns
- null
- | string - an error string on error, nothing on success