# File lib/bundler/shared_helpers.rb, line 20 def default_gemfile gemfile = find_gemfile raise GemfileNotFound, "Could not locate Gemfile" unless gemfile Pathname.new(gemfile) end
# File lib/bundler/shared_helpers.rb, line 26 def default_lockfile Pathname.new("#{default_gemfile}.lock") end
# File lib/bundler/shared_helpers.rb, line 30 def in_bundle? find_gemfile end