Use __FILE__ instead of __dir__ (ruby 1.9.3)