CSE 413 16au Ruby Resources

The main source for all things Ruby is http://www.ruby-lang.org/en/. We will be using ruby 2.x - either 2.0 or 2.1 should be equivalent for our purposes. Ruby 2.x is almost the same as 1.9.x. There are some more significant differences between those versions and earlier ones. We probably won't encounter those differences, but any code you turn in should work on 1.9.x or 2.0 or later.

Downloads: Main download page, including links to source code and precompiled versions on the Installing Ruby page. If you run Windows, get the latest RubyInstaller for 2.x and select all of the options when you install it. Recent versions of the OS X developer tools include a current version of Ruby. If you have an older version of OS X an easy way to get the current version of Ruby is to install Homebrew - see the instructions on the Ruby installation page.

Documentation: The Ruby documentation page has many good tutorials, manuals, and links to detailed infromation. You might start with Try Ruby! and Ruby in Twenty Minutes if you want a quick overview.

Reference material: See www.ruby-doc.org. You can also download copies of the reference pages to use when you're offline.

Books: The best tutorial, including a basic class library reference, is Programming Ruby by Dave Thomas and colleagues. The first edition is available free and covers most everything we need for CSE 413. More recent editions can be ordered through any bookstore, but you can also get electronic (pdf, ebook) versions as well as printed copies through the publisher's web site (Pragmatic Programmers). Here is a link to the current version of the book.

Let us know if you find other resources that would be good to add to this page. Send mail to cse413-staff@cs.