blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

Fixes bug where every puppet run reinstalls already installed gems #52

Closed teknotus closed 12 years ago

teknotus commented 12 years ago

Every gem that was set to a version other than latest was reinstalling on every puppet run. I found that the official gem module from puppet suffered from a similar problem, and was fixed a while ago. http://projects.puppetlabs.com/issues/13397 https://github.com/puppetlabs/puppet/pull/614 I used a similar strategy to fix the problem with rvm_gem

It might actually rely on the referenced puppet fix, but I've only tested with puppet 2.7.19 so I'm not sure.

blt04 commented 12 years ago

Thanks!

shamil commented 11 years ago

Now whenever I set gems to ensure => latest it reinstalls the gems each time over and over, doesn't matter if it already latest or not. Please advise...