Neither ruby and nor irb can load .rb file in current directory April 12, 2024 by Tarik None of these worked for me, but this did: irb -I . >require 'file' => true