Skip to content
  • Rolf Eike Beer's avatar
    FindRuby: clean up querying variables from Ruby · 854e7623
    Rolf Eike Beer authored
    Newer Ruby versions (from 1.9 onward) seem to warn if you query Config::CONFIG
    and print a warning to use RbConfig instead. RbConfig seems to also work in
    older versions, at least in 1.8. Use a macro to query RbConfig first and only
    if that doesn't give anything fall back to Config.
    854e7623