Sha256: 007ebc423b1f49ec22599957c4264efca0c865d531daae0c5e086422ee955465

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

module Bootsnap
  module_function

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

    # Bundler environment variable
    ['BUNDLE_BIN_PATH', 'BUNDLE_GEMFILE'].each do |current|
      return true if ENV.key?(current)
    end

    false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootsnap-1.3.2-java lib/bootsnap/bundler.rb
bootsnap-1.3.2 lib/bootsnap/bundler.rb