require yaml to work in ruby2