excerpt of ruby 2nd

by Aaron
Nophoto-m-50x66

genre: Home & Garden
description:
excerpt

This story is from this book:
Programming Ruby: The Pragmatic Programmers' Guide, Second Edition Programming Ruby: The Pragmatic Programmers' Guide, Second Edition


chapters

chapter 1: Getting Started


Getting Started
chapter 1   —   updated 05/30/08   —   831 characters   —   0 people liked it
Before we start talking about the Ruby language, it’d be useful if we helped you get
Ruby running on your computer. That way you can try sample code and experiment on
your own as you read along.We’ll also show you some different ways to run Ruby.
Installing Ruby
Quite often, youwon’t even need to downloadRuby. It now comes preinstalled on many
Linux distributions, and Mac OS X includes Ruby (although the version of Ruby preinstalled
on OS X is normally several minor releases behind the current Ruby version).
Try typing ruby -v at a command prompt—you may be pleasantly surprised.
If you don’t already have Ruby on your system, or if you’d like to upgrade to a newer
version, you can install it pretty simply. But first, you have a choice to make: go for a
binary distribution, or build Ruby from source?
back to top

Did you like this?   vote  

all writing
all of Aaron's writing