Funny, I was just today trying to figure out how to check for syntax 
warnings within ruby, when I saw this PR 
https://github.com/makaroni4/sandi_meter/pull/29/files#diff-877112234de4a1932929bd1f0413fa93R24 
about checking for warnings in JRuby.

So far, it looks like all tools are just shelling out to the ruby 
executable.  I looked through the Ruby source code but didn't find where 
these checks are done.  I found it in Rubinius, but that doesn't really 
help in the general case.

-- 
Posted via http://www.ruby-forum.com/.