define __dir__ for ruby 1.9-
charset=utf-8