Sha256: 2e9bc1e213d9ffeb3cf449dde75d637ad41490debeb99f78c7e1065008508487

Contents?: true

Size: 252 Bytes

Versions: 21

Compression:

Stored size: 252 Bytes

Contents

module Bootsnap
  extend(self)

  def bundler?
    return false unless defined?(::Bundler)

    # Bundler environment variable
    %w(BUNDLE_BIN_PATH BUNDLE_GEMFILE).each do |current|
      return true if ENV.key?(current)
    end

    false
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
bootsnap-1.4.0.pre2 lib/bootsnap/bundler.rb