method
create_bundle_path
v2_6_3 -
Show latest stable
- Class:
Bundler::Installer
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