Update yard rake task for Redmine 2.x (#14796).

Contributed by Mischa The Evil.

--HG--
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/trunk%4013365