Method: Bundler::SharedHelpers#default_gemfile

Defined in:
lib/bundler/shared_helpers.rb

#default_gemfileObject

Raises:

[View source]

21
22
23
24
25
# File 'lib/bundler/shared_helpers.rb', line 21

def default_gemfile
  gemfile = find_gemfile
  raise GemfileNotFound, "Could not locate Gemfile" unless gemfile
  Pathname.new(gemfile).expand_path
end