puppet-rbenv
puppet-rbenv copied to clipboard
Set gem version
trafficstars
I want to install specific versions of gems,
rbenv::gem { "rails":
user => "xdeploy",
ruby => "1.9.3-p327",
version => "3.2.15",
}
Error: Invalid parameter version
There seems to be no way to pass in versions?
Indeed, no such a simple functionality?
There is such a function and has been for a while - you're just using the wrong name. It's ensure. Merged in from pull request #30.
rbenv::gem { "rails":
user => "xdeploy",
ruby => "1.9.3-p327",
ensure => "3.2.15";
}
Documentation of this attribute really should be added to the README.