I am running a Ruby program that takes files from the command line and
then edits them based on user input. This part works perfectly fine.
The issue I am having is that when I pass an input file I am getting
“in ‘gets’: Bad file descriptor (Errno::EBADF)”
I have tested this program on three machines, a windows laptop, a mac
laptop, and a windows desktop.
The program runs perfectly on the two laptops, but not on my desktop.
The command line for the file looks like: Decrypt.rb test1.in test2.in
I have no idea what that error is dealing with because the program runs
perfectly on the two laptops.