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

This is the latest iteration of the gem dependency resolving algorithm. As of now, it can resolve (as a success or failure) any set of gem dependencies we throw at it in a reasonable amount of time. The most iterations I‘ve seen it take is about 150. The actual implementation of the algorithm is not as good as it could be yet, but that can come later.

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::GemfileError
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::ProductionError
Class Bundler::RemoteSpecification
Class Bundler::Resolver
Class Bundler::Retry
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::StubSpecification
Class Bundler::SystemRubyVersion
Class Bundler::Thor
Class Bundler::VersionConflict
Class Bundler::Worker

Constants

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

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]