specified ruby version; older ruby cannot use variable __dir__