method

create_bundle_path

ruby latest stable - Class: Bundler::Installer

Method not available on this version

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

create_bundle_path()
private

No documentation available.

# File lib/bundler/installer.rb, line 295
    def create_bundle_path
      SharedHelpers.filesystem_access(Bundler.bundle_path.to_s) do |p|
        Bundler.mkdir_p(p)
      end unless Bundler.bundle_path.exist?
    rescue Errno::EEXIST
      raise PathError, "Could not install to path `#{Bundler.bundle_path}` "          "because a file already exists at that path. Either remove or rename the file so the directory can be created."
    end