__dir__ is not a constant but a function
__dir__
__dir__ is equal to File.dirname(File.realpath(__FILE__))
File.dirname(File.realpath(__FILE__))