boxen/puppet-ruby — pull request #66 by grosser (2013-12-07 18:14:38+00:00)
Title: clear rehash cache when switching ruby symlinks

when an old version of a symlink is cached by rbenv-gem-rehash it adds multiple paths to GEM_PATH, resulting in weird errors (using gems compiled against previous ruby patch level)

fixes: https://github.com/sstephenson/rbenv-gem-rehash/issues/12
can be reverted if they fix it some other way

@fromonesrc