Some versions of the Bundler 1.1 RC series introduced corrupted lockfiles. There were two major problems:
As a result, Bundler 1.1 contains code that fixes the earlier corruption. We will remove this fix-up code in Bundler 1.2.
ORIGINAL_ENV | = | ENV.to_hash | ||
VERSION | = | "1.5.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"] =~ %r!(msdos|mswin|djgpp|mingw)! | ||
FREEBSD | = | RbConfig::CONFIG["host_os"] =~ /bsd/ | ||
NULL | = | WINDOWS ? "NUL" : "/dev/null" | ||
YamlSyntaxError | = | ::Psych::SyntaxError | ||
YamlSyntaxError | = | ::ArgumentError | ||
Deprecate | = | ::Deprecate | ||
Deprecate | = | Gem::Deprecate |
bundle_path | [W] | |
rubygems | [R] | |
ui | [W] |
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]