Try this:
gem install color
Regards
Nicolai
I’m not a fan of PDFWriter…
http://sublog.subimage.com/articles/2007/05/29/html-css-to-pdf-using-ruby-on-rails