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