saltstack/salt — pull request #18040 by chulkilee (2014-11-12 22:22:23+00:00)
Title: Respect ruby when using gem with rbenv

It fixes #7681. Without it you cannot install new gem when using rbenv without default.