This should read:

    clean_path.gsub!(/\w\:\//, '/')

`#expand_path` returns a valid Windows path, this means no leading `/`.