# File lib/sprockets/asset.rb, line 214 def relativize_root_path(path) path.to_s.sub(/^#{Regexp.escape(@root)}/, '$root') end