Exercise 0. The Setup


This exercise has no code. It is simply the exercise you complete to get your computer to run Ruby. You should follow these instructions as exactly as possible. For example, Mac OS X computers already have Ruby 2, so do not install Ruby 3 (or any Ruby).


If you do not know how to use PowerShell on Windows, Terminal on OS X, or bash on Linux, then you need to go learn that first. You should do the exercises in Appendix A first before continuing with these exercises.

Mac OS X

Do the following tasks to complete this exercise:

1. Go to http://www.barebones.com/products/textwrangler/ with your browser, get the TextWrangler ...

Get Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World of Computational Thinking with Code, Third Edition, Video Enhanced Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.