puppet-rbenv icon indicating copy to clipboard operation
puppet-rbenv copied to clipboard

Set gem version

Open dillera opened this issue 12 years ago • 2 comments
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?

dillera avatar Nov 20 '13 22:11 dillera

Indeed, no such a simple functionality?

argent-smith avatar Dec 18 '13 14:12 argent-smith

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.

brendonrapp avatar Feb 25 '14 20:02 brendonrapp