Skip to Main Content
Learn to Program, 2nd Edition
book

Learn to Program, 2nd Edition

by Chris Pine
March 2009
Intermediate to advanced content levelIntermediate to advanced
194 pages
4h
English
Pragmatic Bookshelf
Content preview from Learn to Program, 2nd Edition

Linux

If you’re using Linux, you probably already have a favorite text editor, you know how to install Ruby with your package manager, and you better already know where to find your command line.

If you don’t have a text editor you’re fond of, though, might I recommend SciTE? It’s made specifically for programming, it plays well with Ruby, and it’s free. You can download it from http://www.scintilla.org/SciTE.html. If you use another relatively popular editor (emacs, vim, and so on), you can probably find Ruby syntax highlighting rules and such for it.

Next, you’ll want to see whether you have Ruby installed already. Type which ruby on your command line. If you see a scary-looking message that looks something like /usr/bin/which: no ruby ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn to Program, 3rd Edition

Learn to Program, 3rd Edition

Chris Pine
The Book of Ruby

The Book of Ruby

Huw Collingbourne

Publisher Resources

ISBN: 9781680500172Errata