Skip extra slash test on 1.8.7 due to @d0eb6aed
Import r41148 from ruby trunk

This fixes deprecation warnings when creating YAML gemspecs.