Decided not to do this since using `Pathname` it looks as ugly as the original because `Pathname` doesn't work with windows paths: 

```ruby
Pathname.new(chef_gem_path).relative_path_from(Pathname.new(install_path.gsub(File::ALT_SEPARATOR, File::SEPARATOR)).to_s.gsub(File::SEPARATOR, File::ALT_SEPARATOR) + File::ALT_SEPERATOR
```