require_dependency should allow Pathname-like objects, not just String
Merge pull request #12412 from bf4/allow_pathname_for_require_dependency

Allow Pathname for require dependency
registers 0b0beb7 in the CHANGELOG [ci skip]
revises the docs of require_dependency [ci skip]