Replace deprecated Config with RbConfig

Replace deprecated `Config` with `RbConfig`