Fail build if warnings are emitted.
Created by: myronmarston
This is another go at what @xaviershay was trying to achieve in #1117. I tried it by introducing the warning I mentioned in the comments there, and it works :).
Basically, this relies on the fact that ruby prints its warnings to $stderr.