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
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/bundler.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.4.5/lib/bootsnap/bundler.rb
bootsnap-1.4.5-java lib/bootsnap/bundler.rb
bootsnap-1.4.5 lib/bootsnap/bundler.rb
bootsnap-1.4.4-java lib/bootsnap/bundler.rb
bootsnap-1.4.4 lib/bootsnap/bundler.rb
bootsnap-1.4.3-java lib/bootsnap/bundler.rb
bootsnap-1.4.3 lib/bootsnap/bundler.rb
bootsnap-1.4.2-java lib/bootsnap/bundler.rb
bootsnap-1.4.2 lib/bootsnap/bundler.rb
bootsnap-1.4.2.rc3 lib/bootsnap/bundler.rb
bootsnap-1.4.2.rc2-java lib/bootsnap/bundler.rb
bootsnap-1.4.2.rc2 lib/bootsnap/bundler.rb
bootsnap-1.4.2.rc1-java lib/bootsnap/bundler.rb
bootsnap-1.4.2.rc1 lib/bootsnap/bundler.rb
bootsnap-1.4.1-java lib/bootsnap/bundler.rb
bootsnap-1.4.1 lib/bootsnap/bundler.rb
bootsnap-1.4.0 lib/bootsnap/bundler.rb
bootsnap-1.4.0-java lib/bootsnap/bundler.rb
bootsnap-1.4.0.pre3 lib/bootsnap/bundler.rb