class Bundler::Source::Path

def expand(somepath)

def expand(somepath)
  somepath.expand_path(Bundler.root)
rescue ArgumentError => e
  Bundler.ui.debug(e)
  raise PathError, "There was an error while trying to use the path " \
    "`#{somepath}`.\nThe error message was: #{e.message}."
end