ruby/rubygems · error
Dynamic library check not supported on this platform.
Error message
Dynamic library check not supported on this platform.
What it means
Error "Dynamic library check not supported on this platform." thrown in ruby/rubygems.
Source
Thrown at lib/bundler/cli/doctor/diagnose.rb:50
def dylibs_ldd(path)
output = `/usr/bin/ldd #{path.shellescape}`.chomp
output.split("\n").filter_map do |l|
match = l.match(LDD_REGEX)
next if match.nil?
match.captures[0]
end
end
def dylibs(path)
case RbConfig::CONFIG["host_os"]
when /darwin/
return [] unless otool_available?
dylibs_darwin(path)
when /(linux|solaris|bsd)/
return [] unless ldd_available?
dylibs_ldd(path)
else # Windows, etc.
Bundler.ui.warn("Dynamic library check not supported on this platform.")
[]
end
end
def bundles_for_gem(spec)
Dir.glob("#{spec.full_gem_path}/**/*.bundle")
end
def lookup_with_fiddle(path)
require "fiddle"
Fiddle.dlopen(path)
false
rescue Fiddle::DLError
true
end
def check!
require_relative "../check"View on GitHub (pinned to 86cbb817a3)
Solutions
- This check is unsupported on your platform; ignore it or run the diagnostic on a supported platform
When it happens
Trigger: Thrown at lib/bundler/cli/doctor/diagnose.rb:50 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruby/rubygems@86cbb817a3 (2026-08-23).
Data as JSON: /api/errors/d090a33c7fd20a3a.
Report an issue: GitHub.