alup/puppet-rbenv — pull request #97 by bderickson (2014-02-25 21:21:03+00:00)
Title: fix for rbenv::gem always running

I've just added a -- to su. Without this, the --local option intended for gem list is instead applied to su, which results in a silent failure. Since the su returns non-zero, Puppet interprets this as needing to run rbenv::gem, which gets run during every Puppet apply regardless of whether the gem is already in place or not.