I know about accessing the command arguments using the ARGV array, but I've run into an issue. I have a script that I cannot run standalone and instead needs to be run in the rails console. Is there a way to pass arguments when calling a file as such?
load '/tmp/test.rb'
I tried placing it inside the quotes, outside and on a whim tried < to no avail.
Thank you for any help you can provide!