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
Merge pull request #483 from davidakachaos/fix_yaml_error

Fixes a adjustedment made to the YAML part of Ruby