Installing Ultraviolet on my Mac
I spent forever looking for an alternative to Ultraviolet. I originally thought I wouldn't be able to use this library on Heroku due to it needing a wierd regexp library. Turns out Heroku already installs this library making the install of ultraviolet a snap! Unfortunately I was having issues installing ultraviolet on my mac.
You need the oniguruma library installed. Since I use macports anyway this was the easy part.
$ sudo port install oniguruma
The hard part was that the oniguruma gem wasn't finding the files it needed. Turns out I just needed to tell it where to look.
$ sudo gem install ultraviolet -- --with-opt-dir=/opt/local
Bingo! Time to add awesome syntax code to my blog!