Ruby syntax coloring on RubyForge

08 Sep 2005

I upgraded RubyForge to ViewCVS 0.9.4 and noticed that I'd broken the language syntax coloring somewhere along the way. I fixed both Ruby and PHP highlighting by:

  • putting the ruby.st and php.st files in the enscript-1.6.4/states/hl directory
  • editing enscript.st and adding the language definitions
  • make && make install

Further details are in the hardware_setup.txt doc, and you can see the Ruby highlighting in action here.

Regrettably, that upgrade didn't fix some ViewCVS bugs, include this one. Ah well.