Only require yaml where necessary.
Ensure gem requirement is just greater than or equal to 1.8.7.