puppetlabs-toy-chest / puppetlabs-puppetserver_gem

This module provides management of Ruby gems for Puppet Server.
3 stars 23 forks source link

Fix home environment variable #19

Closed scornelissen85 closed 6 years ago

scornelissen85 commented 6 years ago

I noticed that the gem commands did not set de HOME environment correctly. For example, the install on our offline machines, that should use Artifactory, with this settings set in $HOME/.gemrc were not used without this change.

This change will fix setting the HOME environment while executing a gem-cmmand. It has been copied from https://github.com/puppetlabs/puppet/blob/5.3.x/lib/puppet/provider/package/gem.rb.

scornelissen85 commented 6 years ago

Never mind, I see that the difference between 1.0.0 and master fixed my issue, not this pull request. Can you release the current master?