M-x Kelsin

Installing Ultraviolet on my Mac

Date
Thursday, April 1, 2010 at 10:35 am
Tags
code ruby os-x

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!

Tags

apple bash blog boston bug calendar code computer concert debian emacs email firefox food games git google haskell heroku htmlize intel-i810 iphone irssi keyboard linux music mutt os-x php plugins programming ps3 recording review rpg ruby ruby-on-rails server sinatra sync ubuntu ups wedding widgets wordpress work wow xbox360 xmobar xmonad xorg zendrum

RSS
Valid XHTML 1.0 Strict