vtparse
vtparse copied to clipboard
Adjust path in require statement to work with Ruby 1.9.2 and later
In Ruby 1.9.2 and later, the current directory has been removed from the LOAD_PATH, due to security reasons. This causes an error when running make. The solution is to prefix the module name with ./ to force it to be loaded from the current directory.
FWIW I just ran into this issue. I worked around it with
export RUBYLIB=.
(I don't know Ruby so this took some Googling to figure out, and then I encountered this issue.)
This is a nice piece of code, I linked it here :)
https://www.reddit.com/r/ProgrammingLanguages/comments/aazbwp/habermanvtparse_a_library_to_parse_terminal/