Learn to Program, by Chris Pine. A Place to Start for the Future Programmer I guess this all began back in 2002.
I was thinking about teaching programming, and what a great language Ruby would be for learning how to program. I mean, we were all excited about Ruby because it was powerful, elegant, and really just fun, but it seemed to me that it would also be a great way to get into programming in the first place. Unfortunately, there wasn't much Ruby documentation geared for newbies at the time. Some of us in the community were talking about what such a "Ruby for the Nuby" tutorial would need, and more generally, how to teach programming at all.
And it wasn't very good. What saved me was that I made it really easy for people to contact me, and I always tried to help people when they got stuck. A couple of years later, it was getting pretty good. :-) So good, in fact, that I was ready to pronounce it finished, and move on to something else. Thoughts For Teachers About the Original Tutorial Acknowledgements. Documentation. Here you will find pointers to manuals, tutorials and references that will come in handy when you feel like coding in Ruby.
Installing Ruby Unless you only want to try Ruby in the browser (see the links below) you need to have Ruby installed on your computer. You can check whether Ruby already is available by opening a terminal and typing This should output some information on the installed Ruby version. If not, see the installation page for various options of getting Ruby. Getting Started Try Ruby! An interactive tutorial that lets you try out Ruby right in your browser.
Ruby Koans The Koans walk you along the path to enlightenment in order to learn Ruby. RubyMonk Discover Ruby idioms, learn lessons and solve problems, all in your browser! Hackety Hack The little coder’s starter kit. Why’s (Poignant) Guide to Ruby An unconventional but interesting book that will teach you Ruby through stories, wit, and comics. Ruby in Twenty Minutes A nice tutorial covering the basics of Ruby. Ruby Programming Language. Getting Started with Rails. 1 Guide Assumptions This guide is designed for beginners who want to get started with a Rails application from scratch.
It does not assume that you have any prior experience with Rails. However, to get the most out of it, you need to have some prerequisites installed: The Ruby language version 1.9.3 or newer.The RubyGems packaging system, which is installed with Ruby versions 1.9 and later. To learn more about RubyGems, please read the RubyGems Guides.A working installation of the SQLite3 Database.
Rails is a web application framework running on the Ruby programming language. Be aware that some resources, while still excellent, cover versions of Ruby as old as 1.6, and commonly 1.8, and will not include some syntax that you will see in day-to-day development with Rails. 2 What is Rails? Rails is a web application development framework written in the Ruby language.
Rails is opinionated software. The Rails philosophy includes two major guiding principles: 3 Creating a New Rails Project Feedback. Ruby Quiz. Ruby Tutorial - Learn Ruby. Ruby Essentials. Ruby Tutorial. Top 12 Ruby on Rails Tutorials. A former student asked me a few days ago how I learned Ruby on Rails.
The answer was that I simply read alot of great tutorials. So in the spirit of sharing, here are the 12 tutorials that I found most useful: Rolling with Ruby on Rails – Curtis Hibbs of ONLamp.com offers his first excellent introduction to Ruby on Rails. This is the article that got me really excited about RoR.2. Rolling with Ruby on Rails, Part 2 – The sequel to Curtis Hibbs excellent series of articles.3. Hey, Ruby on Rails Fans! UPDATE, JUNE 2009: Want more up-to-date tutorials on Ruby programming? Happy Rails developing and if you have any other tutorials that you’d like to share, please leave them in the comments! Tagged as: ruby on rails, tutorial.