Fixes a adjustedment made to the YAML part of Ruby
Fixing errors reported by Travis

Should have run rake first before commiting -.- But now it passes!
See if we need this exception or not
Better way to detect method present

Thanks to @sferik for the catch