RiotGamesCookbooks / rbenv-cookbook

Installs and configures rbenv
http://community.opscode.com/cookbooks/rbenv
Apache License 2.0
137 stars 109 forks source link

Ensure $HOME is correct before a ruby build (possibly from git.) #104

Open jcoleman opened 10 years ago

jcoleman commented 10 years ago

This is a continuation of the work in db913928da8a389ff8edd98309dfb00ea3fa9fd8 which added a workaround for a git bug when using git to clone the rbenv install. But the bug is also present when a ruby build happens from a git source. This patch ensures that $HOME is temporarily changed to the home directory for node[:rbenv][:user] during the ruby build process.