# File lib/bundler/bundle.rb, line 17 def self.default_gemfile current = Pathname.new(Dir.pwd) until current.root? filename = current.join("Gemfile") return filename if filename.exist? current = current.parent end raise DefaultManifestNotFound end