X11 has been removed from Mountain Lion and you first need to install XQuartz ← Install Native Ruby Gem in Mountain Lion Preview TDD by Jim Weirich →