Module: OS::Linux::Bundle::ClassMethods Private

Defined in:
extend/os/linux/bundle/bundle.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#mas_installed?Boolean

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:

  • (Boolean)


9
10
11
# File 'extend/os/linux/bundle/bundle.rb', line 9

def mas_installed?
  false
end

#prepend_pkgconf_path_if_needed!void

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

This method returns an undefined value.

Setup pkg-config, if present, to help locate packages Only need this on Linux as Homebrew provides a shim on macOS



16
17
18
19
20
21
# File 'extend/os/linux/bundle/bundle.rb', line 16

def prepend_pkgconf_path_if_needed!
  pkgconf = Formulary.factory("pkgconf")
  return unless pkgconf.any_version_installed?

  ENV.prepend_path "PATH", pkgconf.opt_bin.to_s
end