1.692: fix ruby_ridir not to use deprecated CONFIG (removed in 2.0)