14.7. Libraries You Need to Know About If you're a Ruby programmer on Windows, the first package you absolutely need is by Daniel Berger, one of the foremost Ruby developers on those platforms. The win32-utils library is really a whole suite of small libraries. We can't look in detail at all these, but we list them all here: win32-changenotify For monitoring events related to files and directories win32-clipboard For interacting with the Windows Clipboard win32-etc Provides UNIX-like Etc functions for the Windows platform (such as getpwnam and getpwuid) win32-event Interface to Windows Event objects win32-eventlog Interface to the Windows Event Log win32-ipc A base class for Windows synchronization objects (used by win32-event and others) win32-mmap Interface to the Windows Memory Mapped File win32-open3 An open3 library for Windows (run a command and return three file handles) win32-pipe Named pipes on Windows win32-process UNIX-like fork, wait and kill for Windows win32-sapi Interface to the Microsoft Speech API win32-service Interface for Windows Services win32-shortcut Interface for creating and modifying Windows shortcuts win32-sound Interface for playing with sound on Windows systems Some other libraries that are "nice to have" are as follows: Win32::Console is a full port of Perl's Win32::Console and Win32::Console::ANSI libraries. It allows working with Windows consoles much more easily (changing colors, positioning cursor, querying info, and emulating ANSI control characters). ActiveDirectory enables effortless interaction with Active Directory instances running on Microsoft Windows servers and networks. ruby-inifile helps you maipulate .ini files (reading, parsing, writing and updating them). Many other libraries are available online that may fit your individual needs. Search http://raa-ruby-lang.org and http://rubyforge.org to find these. |