Sha256: d71e8ada57ae1bd8c1aa9982ff9aeff9f0fd57c0b7b3516be124de53e87aa54f

Contents?: true

Size: 217 Bytes

Versions: 24

Compression:

Stored size: 217 Bytes

Contents

module Bootsnap
  module_function

  def 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

24 entries across 24 versions & 2 rubygems

Version Path
bootsnap-1.1.6 lib/bootsnap/bundler.rb
bootsnap-1.1.6.beta3 lib/bootsnap/bundler.rb
bootsnap-1.1.6.beta2 lib/bootsnap/bundler.rb
bootsnap-1.1.6.beta lib/bootsnap/bundler.rb