If it was copied from rubygems would it be better to alias and wrap the RG call in your conditions? Been a while since I paid attention to these practices...

This would allow the RG call to change without you missing out.