Prior to this commit, when Vagrant attempted to use the Gem library, it would attempt to pass in a gemrc through an environment variable that the rubygems library would try to split and parse. This is normally fine, as the method in question would return empty if that file did not exist. However if the user had a file that matches the drive that Vagrant was installed on, rubygems would fail saying the folder was not a file (or a gemrc, in this case). This commit works around that by instead configuring the gemrc location through ruby with `Gem.configuration`. Related rubygems issue [#2733](https://github.com/rubygems/rubygems/issues/2733) |
||
---|---|---|
.. | ||
vagrant | ||
vagrant.rb |