Module Bundler
In: lib/bundler/remote_specification.rb
lib/bundler/version.rb
lib/bundler/gem_remote_fetcher.rb
lib/bundler/cli.rb
lib/bundler/current_ruby.rb
lib/bundler/source.rb
lib/bundler/injector.rb
lib/bundler/spec_set.rb
lib/bundler/deployment.rb
lib/bundler/ruby_dsl.rb
lib/bundler/dep_proxy.rb
lib/bundler/stub_specification.rb
lib/bundler/friendly_errors.rb
lib/bundler/retry.rb
lib/bundler/ui.rb
lib/bundler/settings.rb
lib/bundler/dependency.rb
lib/bundler/installer/gem_installer.rb
lib/bundler/installer/standalone.rb
lib/bundler/source_list.rb
lib/bundler/installer.rb
lib/bundler/shared_helpers.rb
lib/bundler/fetcher/base.rb
lib/bundler/fetcher/dependency.rb
lib/bundler/fetcher/index.rb
lib/bundler/fetcher/downloader.rb
lib/bundler/index.rb
lib/bundler/psyched_yaml.rb
lib/bundler/definition.rb
lib/bundler/lazy_specification.rb
lib/bundler/runtime.rb
lib/bundler/fetcher.rb
lib/bundler/gem_helpers.rb
lib/bundler/dsl.rb
lib/bundler/graph.rb
lib/bundler/resolver.rb
lib/bundler/ruby_version.rb
lib/bundler/rubygems_gem_installer.rb
lib/bundler/source/path.rb
lib/bundler/source/path/installer.rb
lib/bundler/source/git.rb
lib/bundler/source/rubygems.rb
lib/bundler/source/rubygems/remote.rb
lib/bundler/source/git/git_proxy.rb
lib/bundler/similarity_detector.rb
lib/bundler/lockfile_parser.rb
lib/bundler/ui/silent.rb
lib/bundler/ui/shell.rb
lib/bundler/ui/rg_proxy.rb
lib/bundler/vendored_molinillo.rb
lib/bundler/deprecate.rb
lib/bundler/gem_path_manipulation.rb
lib/bundler/match_platform.rb
lib/bundler/gem_helper.rb
lib/bundler/rubygems_integration.rb
lib/bundler/endpoint_specification.rb
lib/bundler/env.rb
lib/bundler/vendored_thor.rb
lib/bundler/environment.rb
lib/bundler/worker.rb
lib/bundler/cli/update.rb
lib/bundler/cli/outdated.rb
lib/bundler/cli/common.rb
lib/bundler/cli/console.rb
lib/bundler/cli/gem.rb
lib/bundler/cli/install.rb
lib/bundler/cli/exec.rb
lib/bundler/cli/cache.rb
lib/bundler/cli/package.rb
lib/bundler/cli/viz.rb
lib/bundler/cli/init.rb
lib/bundler/cli/check.rb
lib/bundler/cli/open.rb
lib/bundler/cli/show.rb
lib/bundler/cli/config.rb
lib/bundler/cli/platform.rb
lib/bundler/cli/clean.rb
lib/bundler/cli/binstubs.rb
lib/bundler/cli/lock.rb
lib/bundler/cli/inject.rb
lib/bundler/constants.rb
lib/bundler/errors.rb
lib/bundler.rb

Some versions of the Bundler 1.1 RC series introduced corrupted lockfiles. There were two major problems:

  • multiple copies of the same GIT section appeared in the lockfile
  • when this happened, those sections got multiple copies of gems in those sections.

As a result, Bundler 1.1 contains code that fixes the earlier corruption. We will remove this fix-up code in Bundler 1.2.

Methods

Classes and Modules

Module Bundler::GemHelpers
Module Bundler::MatchPlatform
Module Bundler::Molinillo
Module Bundler::RubyDsl
Module Bundler::SharedHelpers
Module Bundler::UI
Class Bundler::BundlerError
Class Bundler::CLI
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::Environment
Class Bundler::Fetcher
Class Bundler::GemHelper
Class Bundler::GemInstaller
Class Bundler::GemNotFound
Class Bundler::GemRemoteFetcher
Class Bundler::GemRequireError
Class Bundler::GemfileError
Class Bundler::GemfileEvalError
Class Bundler::GemfileLockNotFound
Class Bundler::GemfileNotFound
Class Bundler::GemspecError
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::LockfileParser
Class Bundler::MarshalError
Class Bundler::PathError
Class Bundler::PermissionError
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::Source
Class Bundler::SourceList
Class Bundler::SpecSet
Class Bundler::Standalone
Class Bundler::StubSpecification
Class Bundler::SystemRubyVersion
Class Bundler::Thor
Class Bundler::VersionConflict
Class Bundler::Worker
Class Bundler::YamlSyntaxError

Constants

VERSION = "1.11.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.
YamlLibrarySyntaxError = ::Psych::SyntaxError
YamlLibrarySyntaxError = ::ArgumentError
Deprecate = ::Deprecate
Deprecate = Gem::Deprecate
WINDOWS = RbConfig::CONFIG["host_os"] =~ /(msdos|mswin|djgpp|mingw)/
FREEBSD = RbConfig::CONFIG["host_os"] =~ /bsd/
NULL = WINDOWS ? "NUL" : "/dev/null"
ORIGINAL_ENV = ENV.to_hash
SUDO_MUTEX = Mutex.new

Attributes

bundle_path  [W] 
rubygems  [R] 

Public Class methods

Returns absolute location of where binstubs are installed to.

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

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]

[Validate]