Twitter Updates

Sunday, 26 October 2008

Ruby Gems & gem_server

The default Leopard Ruby installation does not include the gem_server by default.
NB: it is now called gem server (no underscore)

I performed a gem update then the gem server worked.
$ gem update --system

$ gem server

gems are Ruby libraries that add functionality to the basic install.

Some gems require you to build the documentation. in this case cd to the gem location and call
$rake docs
$rake rdocs

you can view a gems doc directly by pasting the gem docs folder into your web browser.

No comments: