O'Reilly logo

Learn Ruby the Hard Way: A Simple and Idiomatic Introduction to the Imaginative World of Computational Thinking with Code, Third Edition, Video Enhanced Edition by Zed A. Shaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercise 0. The Setup

Image

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required