Tuesday, July 15, 2008

Determine the version of a ruby library

I always have trouble remembering details of my ruby installation. Here's an example of how to find the version of rexml that is on your machine.

ruby -vrrexml/rexml -e 'p REXML::VERSION,PLATFORM'

I stole this example from this link.