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).

Warning!

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 text editor, and install it.

2. Put TextWrangler (your editor) in your dock so you can reach ...

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

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