Sunday, May 13, 2007

FAQ: How do I install new code libraries?

The One-Click Ruby Installer includes RubyGems. RubyGems is a standard format for distributing Ruby programs and libraries, and provides an easy-to-use tool for managing the installation of gem packages. To install a new library such as watir via gem, open a command window and enter...

gem install watir

To uninstall, enter (you probably guessed this by now)...

gem uninstall watir

For complete details, check out the easy-to-read RubyGems User Guide.

No comments: