method

dylibs_darwin

ruby latest stable - Class: Bundler::CLI::Doctor

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

dylibs_darwin(path)
public

No documentation available.

# File lib/bundler/cli/doctor.rb, line 24
    def dylibs_darwin(path)
      output = `/usr/bin/otool -L "#{path}"`.chomp
      dylibs = output.split("\n")[1..-1].map {|l| l.match(DARWIN_REGEX).captures[0] }.uniq
      # ignore @rpath and friends
      dylibs.reject {|dylib| dylib.start_with? "@" }
    end