Flowdock
method

bundler_version_with_reason

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: BundlerVersionFinder
bundler_version_with_reason() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/bundler_version_finder.rb, line 14
  def self.bundler_version_with_reason
    if v = ENV["BUNDLER_VERSION"]
      return [v, "`$BUNDLER_VERSION`"]
    end
    if v = bundle_update_bundler_version
      return if v == true
      return [v, "`bundle update --bundler`"]
    end
    v, lockfile = lockfile_version
    if v
      return [v, "your #{lockfile}"]
    end
  end
Register or log in to add new notes.