background preloader


Facebook Twitter

Learn to Program, by Chris Pine. A Place to Start for the Future Programmer I guess this all began back in 2002.

Learn to Program, by Chris Pine

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 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.

Getting Started with Rails

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 2.2.2 or newer.Right version of Development Kit, if you are using Windows.The RubyGems packaging system, which is installed with Ruby by default. 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. 3 Creating a New Rails Project. Ruby Quiz. Ruby Tutorial - Learn Ruby. Ruby Essentials. Ruby Tutorial. Helping Ruby Programmers become Awesome!

Ruby Tutorial

Ruby Study Notes: TOC Core Ruby Programming Introduction InstallationWhat is Ruby? Downloading Ruby and an EditorRuby Programming Environment First Ruby Program Features Numbers in RubyOperators and PrecedenceDifference between or and || operator Fun with Strings Variables and Assignment Summary 1 ScopeGlobal scope and global variablesBuilt-in global variablesLocal scope Getting Input Names in Ruby More on Ruby Methods Writing own Ruby MethodsBang (!) Note: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. . © 2006-2016 - A Ruby Tutorial Page Updated: 1st Jan. 2016 | Design: Erwin Aligam | Valid: XHTML | CSS Home | Privacy | Sitemap.

Top 12 Ruby on Rails Tutorials. A former student asked me a few days ago how I learned Ruby on Rails.

Top 12 Ruby on Rails Tutorials

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 offers his first excellent introduction to Ruby on Rails. This is the article that got me really excited about RoR.2.