Module: Gem

Defined in:
lib/bundler/rubygems_ext.rb

Defined Under Namespace

Modules: BetterPermissionError Classes: BasicSpecification, Dependency, NameTuple, Platform, Requirement, Specification, StubSpecification

Class Method Summary collapse

Class Method Details

.freebsd_platform?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/bundler/rubygems_ext.rb', line 28

def self.freebsd_platform?
  RbConfig::CONFIG["host_os"].to_s.include?("bsd")
end