Respect ruby when using gem with rbenv
Merge pull request #18040 from chulkilee/rbenv-ruby-version

Respect ruby when using gem with rbenv