Backport GH-63: fix batch label operation in console
Ruby 1.8 needs requiring rubygems manually