so 2> would redirect stderr to /dev/null, i'm guessing the regular expression to check stdout.   Instead could couldn't you just do:

 -if system('rpm -q rubygem-ruport &>/dev/null') && ! defined? JRUBY_VERSION 

&>  redirect stderr and stdout, and we wouldn't be duplicating the rubygem-ruport version in the regular expression  (or need the regex at all)

Thoughts?