Put an ifonly line that egreps for the commented line, and only if it is commented run the ruby block.