method

root

ruby latest stable - Class: Bundler

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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