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.
| 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 |
| bundle_path | [W] | |
| rubygems | [R] |
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]