CSE 413 21sp Ruby Resources

The main source for all things Ruby is http://www.ruby-lang.org/en/. We will be using ruby 2.x - any recent version will be sufficient for our purposes. For what we're doing, Ruby 2.x has relatively few differences from earlier versions. We probably won't encounter any problems with this, but any code you turn in should work on a recent 2.x version.

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. If you are running MacOS, ruby probably is already be installed. Try typing ruby -v to see if it is. Recent versions of the MacOS developer tools include a current version of Ruby. If you do not have the MacOS developer tools or a version of Ruby already, an easy way to get the developer tools 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.

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

Books: The classic 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.