btm/chef — comment on commit d98cb66196e468e93f5220597bddc2be0e018db8
File: chef/lib/chef/provider/package/rubygems.rb line 342
By btm:

As above, File.join uses File::SEPARATOR, which is "/" on Windows even though file paths are joined by back-slashes. Using the backslash makes the simple string match easier.