method
root
v2_6_3 -
Show latest stable
- Class:
Bundler
root()public
No documentation available.
# File lib/bundler.rb, line 232
def root
@root ||= begin
SharedHelpers.root
rescue GemfileNotFound
bundle_dir = default_bundle_dir
raise GemfileNotFound, "Could not locate Gemfile or .bundle/ directory" unless bundle_dir
Pathname.new(File.expand_path("..", bundle_dir))
end
end