Debug stuff for ruby 2