class Bundler::Source::Path

def cache(spec)

def cache(spec)
  unless path.expand_path(Bundler.root).to_s.index(Bundler.root.to_s) == 0
    Bundler.ui.warn "  * #{spec.name} at `#{path}` will not be cached."
  end
end