It is possible to call the irb by passing as a parameter a library to be loaded (required):
irb -r date
But this does not work if I want to load a file into the directory where the command is executed:
irb -r meuscript
(assuming the meuscript.rb
file exists)
I think this worked on older versions. How does it work now?