__dir__ is ruby 2.0 specific