class Bundler::Source::Git
def revision
def revision @revision ||= begin if allow_git_ops? in_cache { git("rev-parse #{ref}").strip } else raise GitError, "The git source #{uri} is not yet checked out. Please run `bundle install` before trying to start your application" end end end