Can you ask ruby to treat warnings as errors?
There is unfortunately no real way of doing this, at least not on most versions of Ruby out there (variations may exist), short of monitoring the program output and aborting it when a warning appears on standard error. Here’s why: Ruby defines Kernel.warn, which you can redefine to do whatever you wish (including exiting), and … Read more