Portability Notes

As mentioned earlier in the book, Ruby's primary development began and remains in the Unix world, and the language has since been adapted to other platforms. Most of what we see today is tailored for Unix, and parts are not entirely portable. A few of the Unix-specific features will work under Windows when run from within the Cygwin bash shell. Since some of today's examples will be given in more than one variant form, you might find that one form or another is better suited to a Windows environment.

To turn the tables around, Windows itself is not without its modular aspects. Ruby comes with Object Linking and Embedding (OLE) support that allows it to be used as a Windows glue language, too.

Note

In the Windows world, the work ...

Get Sams Teach Yourself Ruby in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.