1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands/runner
Lazarus Lazaridis 777e5ef3e2 Expand path of user provided file in runner
If user provides a file without absolute or relative path and
the file exists in any of the directories of the $LOAD_PATH
the `Kernel.load` method will load the latter one instead of the
intended one.

Expanding the path of the file forces Kernel to load the
correct file using its absolute path.

* Fixes #42007
2021-04-18 13:45:33 +03:00
..
runner_command.rb Expand path of user provided file in runner 2021-04-18 13:45:33 +03:00
USAGE