Fix NameError on ruby 1.9
Fix NameError on ruby 1.9

`__dir__` requiments ruby 2.0+

mitaku/komachi_heartbeat,sue445/komachi_heartbeat,mitaku/komachi_heartbeat,sue445/komachi_heartbeat,mitaku/komachi_heartbeat,sue445/komachi_heartbeat