Guard history search for jruby