Converting ruby code to html

I noticed this post today about formatting ruby code for html (via rubynow)

I’ve been using GNU source-highlight to do this.

If you are using textmate you can capture the output directly. Highlight the ruby code you want to convert and run the command Text->Filter-Through-Command.

In the command text box enter source-highlight -sruby -fxhtml