Module Bundler
In: lib/bundler.rb
lib/bundler/shared_helpers.rb
lib/bundler/resolver.rb
lib/bundler/version.rb
lib/bundler/runtime.rb
lib/bundler/resolver/spec_group.rb
lib/bundler/feature_flag.rb
lib/bundler/worker.rb
lib/bundler/dsl.rb
lib/bundler/yaml_serializer.rb
lib/bundler/source_list.rb
lib/bundler/mirror.rb
lib/bundler/match_platform.rb
lib/bundler/plugin.rb
lib/bundler/similarity_detector.rb
lib/bundler/gem_helpers.rb
lib/bundler/vendored_fileutils.rb
lib/bundler/build_metadata.rb
lib/bundler/current_ruby.rb
lib/bundler/retry.rb
lib/bundler/cli/outdated.rb
lib/bundler/cli/check.rb
lib/bundler/cli/add.rb
lib/bundler/cli/binstubs.rb
lib/bundler/cli/issue.rb
lib/bundler/cli/plugin.rb
lib/bundler/cli/doctor.rb
lib/bundler/cli/console.rb
lib/bundler/cli/open.rb
lib/bundler/cli/lock.rb
lib/bundler/cli/gem.rb
lib/bundler/cli/package.rb
lib/bundler/cli/cache.rb
lib/bundler/cli/inject.rb
lib/bundler/cli/info.rb
lib/bundler/cli/remove.rb
lib/bundler/cli/init.rb
lib/bundler/cli/exec.rb
lib/bundler/cli/viz.rb
lib/bundler/cli/pristine.rb
lib/bundler/cli/common.rb
lib/bundler/cli/install.rb
lib/bundler/cli/platform.rb
lib/bundler/cli/show.rb
lib/bundler/cli/clean.rb
lib/bundler/cli/list.rb
lib/bundler/cli/config.rb
lib/bundler/cli/update.rb
lib/bundler/friendly_errors.rb
lib/bundler/rubygems_gem_installer.rb
lib/bundler/compact_index_client.rb
lib/bundler/stub_specification.rb
lib/bundler/definition.rb
lib/bundler/constants.rb
lib/bundler/ui.rb
lib/bundler/plugin/dsl.rb
lib/bundler/plugin/source_list.rb
lib/bundler/plugin/api.rb
lib/bundler/plugin/events.rb
lib/bundler/plugin/api/source.rb
lib/bundler/plugin/installer/rubygems.rb
lib/bundler/plugin/installer/git.rb
lib/bundler/plugin/index.rb
lib/bundler/plugin/installer.rb
lib/bundler/environment_preserver.rb
lib/bundler/gem_remote_fetcher.rb
lib/bundler/process_lock.rb
lib/bundler/ruby_version.rb
lib/bundler/lockfile_parser.rb
lib/bundler/deployment.rb
lib/bundler/deprecate.rb
lib/bundler/settings/validator.rb
lib/bundler/lockfile_generator.rb
lib/bundler/gemdeps.rb
lib/bundler/vendored_molinillo.rb
lib/bundler/fetcher.rb
lib/bundler/ui/shell.rb
lib/bundler/ui/rg_proxy.rb
lib/bundler/ui/silent.rb
lib/bundler/dependency.rb
lib/bundler/version_ranges.rb
lib/bundler/installer/standalone.rb
lib/bundler/installer/gem_installer.rb
lib/bundler/installer/parallel_installer.rb
lib/bundler/gem_version_promoter.rb
lib/bundler/rubygems_integration.rb
lib/bundler/index.rb
lib/bundler/gem_helper.rb
lib/bundler/dep_proxy.rb
lib/bundler/spec_set.rb
lib/bundler/remote_specification.rb
lib/bundler/compact_index_client/cache.rb
lib/bundler/compact_index_client/updater.rb
lib/bundler/cli.rb
lib/bundler/uri_credentials_filter.rb
lib/bundler/source.rb
lib/bundler/env.rb
lib/bundler/installer.rb
lib/bundler/injector.rb
lib/bundler/errors.rb
lib/bundler/settings.rb
lib/bundler/psyched_yaml.rb
lib/bundler/graph.rb
lib/bundler/ruby_dsl.rb
lib/bundler/source/rubygems/remote.rb
lib/bundler/source/gemspec.rb
lib/bundler/source/git/git_proxy.rb
lib/bundler/source/rubygems.rb
lib/bundler/source/git.rb
lib/bundler/source/path/installer.rb
lib/bundler/source/metadata.rb
lib/bundler/source/path.rb
lib/bundler/endpoint_specification.rb
lib/bundler/vendored_thor.rb
lib/bundler/fetcher/downloader.rb
lib/bundler/fetcher/compact_index.rb
lib/bundler/fetcher/base.rb
lib/bundler/fetcher/dependency.rb
lib/bundler/fetcher/index.rb
lib/bundler/vendored_persistent.rb
lib/bundler/lazy_specification.rb

frozen_string_literal: true

Methods

Classes and Modules

Module Bundler::BuildMetadata
Module Bundler::CLI
Module Bundler::FileUtils
Module Bundler::FriendlyErrors
Module Bundler::GemHelpers
Module Bundler::MatchPlatform
Module Bundler::Molinillo
Module Bundler::Persistent
Module Bundler::Plugin
Module Bundler::RubyDsl
Module Bundler::SharedHelpers
Module Bundler::UI
Module Bundler::URICredentialsFilter
Module Bundler::VersionRanges
Module Bundler::YAMLSerializer
Class Bundler::APIResponseMismatchError
Class Bundler::BundlerError
Class Bundler::CLI
Class Bundler::CompactIndexClient
Class Bundler::CurrentRuby
Class Bundler::CyclicDependencyError
Class Bundler::Definition
Class Bundler::DepProxy
Class Bundler::Dependency
Class Bundler::Deployment
Class Bundler::Deprecate
Class Bundler::DeprecatedError
Class Bundler::Dsl
Class Bundler::EndpointSpecification
Class Bundler::Env
Class Bundler::EnvironmentPreserver
Class Bundler::FeatureFlag
Class Bundler::Fetcher
Class Bundler::GemHelper
Class Bundler::GemInstaller
Class Bundler::GemNotFound
Class Bundler::GemRemoteFetcher
Class Bundler::GemRequireError
Class Bundler::GemVersionPromoter
Class Bundler::Gemdeps
Class Bundler::GemfileError
Class Bundler::GemfileEvalError
Class Bundler::GemfileLockNotFound
Class Bundler::GemfileNotFound
Class Bundler::GemspecError
Class Bundler::GenericSystemCallError
Class Bundler::GitError
Class Bundler::Graph
Class Bundler::HTTPError
Class Bundler::Index
Class Bundler::Injector
Class Bundler::InstallError
Class Bundler::InstallHookError
Class Bundler::Installer
Class Bundler::InvalidOption
Class Bundler::LazySpecification
Class Bundler::LockfileError
Class Bundler::LockfileGenerator
Class Bundler::LockfileParser
Class Bundler::MarshalError
Class Bundler::MirrorSockets
Class Bundler::NoSpaceOnDeviceError
Class Bundler::OperationNotSupportedError
Class Bundler::ParallelInstaller
Class Bundler::PathError
Class Bundler::PermissionError
Class Bundler::PersistentHTTP
Class Bundler::PluginError
Class Bundler::ProcessLock
Class Bundler::ProductionError
Class Bundler::RemoteSpecification
Class Bundler::Resolver
Class Bundler::Retry
Class Bundler::RubyGemsGemInstaller
Class Bundler::RubyVersion
Class Bundler::RubyVersionMismatch
Class Bundler::RubygemsIntegration
Class Bundler::Runtime
Class Bundler::SecurityError
Class Bundler::Settings
Class Bundler::SimilarityDetector
Class Bundler::SocketAddress
Class Bundler::Source
Class Bundler::SourceList
Class Bundler::SpecSet
Class Bundler::Standalone
Class Bundler::StubSpecification
Class Bundler::SudoNotPermittedError
Class Bundler::TemporaryResourceError
Class Bundler::Thor
Class Bundler::ThreadCreationError
Class Bundler::VersionConflict
Class Bundler::VirtualProtocolError
Class Bundler::Worker
Class Bundler::YamlSyntaxError

Constants

ORIGINAL_ENV = environment_preserver.restore
SUDO_MUTEX = Mutex.new
VERSION = "1.17.2" unless defined?(::Bundler::VERSION)   We‘re doing this because we might write tests that deal with other versions of bundler and we are unsure how to handle this better.
WINDOWS = RbConfig::CONFIG["host_os"] =~ /(msdos|mswin|djgpp|mingw)/
FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
NULL = WINDOWS ? "NUL" : "/dev/null"
Deprecate = ::Deprecate
Deprecate = Gem::Deprecate
FETCHERS = [CompactIndex, Dependency, Index].freeze
HTTP_ERRORS = [ Timeout::Error, EOFError, SocketError, Errno::ENETDOWN, Errno::ENETUNREACH, Errno::EINVAL, Errno::ECONNRESET, Errno::ETIMEDOUT, Errno::EAGAIN, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError, PersistentHTTP::Error, Zlib::BufError, Errno::EHOSTUNREACH
YamlLibrarySyntaxError = ::Psych::SyntaxError
YamlLibrarySyntaxError = ::ArgumentError

Attributes

api_timeout  [RW] 
disable_endpoint  [RW] 
max_retries  [RW] 
redirect_limit  [RW] 

Public Class methods

Returns absolute location of where binstubs are installed to.

Returns absolute path of where gems are installed on the filesystem.

@deprecated Use `original_env` instead @return [Hash] Environment with all bundler-related variables removed

Returns current version of Ruby

@return [CurrentRuby] Current version of Ruby

Returns an instance of Bundler::Definition for given Gemfile and lockfile

@param unlock [Hash, Boolean, nil] Gems that have been requested

  to be updated or true if all gems should be updated

@return [Bundler::Definition]

@return [Hash] Environment present before Bundler was activated

Public Instance methods

fetch a gem specification

return the specs in the bundler format as an index

return the specs in the bundler format as an index with retries

[Validate]