# File lib/chef/knife/solo_cook.rb, line 199 def adjust_rsync_path(path, path_prefix) path_s = path.to_s path_s.gsub(/^(\w):/) { path_prefix + "/#{$1}" } end