Programming Tutorials

Excellent Free Tutorials to Learn Ruby

Ruby is a general purpose, scripting, structured, flexible, fully object-oriented programming language with a focus on simplicity and productivity. Ruby is a very conservative language. It’s equipped with very carefully chosen features that have been fully tested.

Ruby possesses a high portability running a large number of platforms including Linux, Windows, Mac OS X, Cygwin, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, Tru64 UNIX, and HP-UX. At the time of publication, the TIOBE Programming Community index ranks Ruby in 11th place.

Ruby’s popularity was enhanced by the Ruby on Rails framework, a full-stack web framework which has been used to create many popular applications including Basecamp, GitHub, Shopify, Airbnb, Twitch, SoundCloud, Hulu, Zendesk, Square, and Highrise.

Here’s our recommended tutorials to learn Ruby. If you’re looking for free Ruby programming books, check here.


1. The Definitive Ruby Tutorial For Complete Beginners by RubyGuides

Learn everything you need to know to get started learning this fun programming language so you can create your own Ruby programs and do amazing things!

Read the tutorial


2. Learn Ruby by C42 Engineering

Free, interactive tutorials to help you discover Ruby idioms, in your browser.

Read the tutorial


3. The Ruby Style Guide by RuboCop Headquarters

This Ruby style guide recommends best practices so that real-world Ruby programmers can write code that can be maintained by other real-world Ruby programmers. A style guide that reflects real-world usage gets used, while a style guide that holds to an ideal that has been rejected by the people it is supposed to help risks not getting used at all – no matter how good it is.

Read the tutorial


4. Ruby in Twenty Minutes by the Ruby Community

This is a small Ruby tutorial that should take no more than 20 minutes to complete.

Read the tutorial


5. Learn Ruby by Edgecase

The Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and libraries. It also teaches you culture.

Read the tutorial


6. Ruby Study Notes by Satish Talim

The Ruby Study Notes is a step-by-step tutorial to programming in Ruby and you can follow it page by page, reading the text and running the sample programs. There are no large applications here – just small, self-contained sample programs.

Read the tutorial


7. The Unofficial Ruby Usage Guide (at Google)

This document was originally written for internal use in the Operations department at Google.

Read the tutorial


8. Ruby Programming Tutorials by Jake Day Williams

We don’t normally feature videos in our Tutorials. But this set of videos offer a great way of learning Ruby. Learn to code with these easy to follow video instructions.

Watch the videos


9. Ruby Programming by The Odin Project

Time to dive deep into Ruby, the language ‘designed for programmer happiness.’ You’ll cover object-oriented design, testing, and data structures – essential knowledge for learning other programming languages, too!

Read the tutorial


10. Learn Ruby in X minutes by David Underwood and many contributors

This is one of a series for popular programming languages.

Read the guide


All tutorials in this series:

Free Programming Tutorials
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
CGeneral-purpose, procedural, portable, high-level language
PythonGeneral-purpose, structured, powerful language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
JavaScriptInterpreted, prototype-based, scripting language
PHPPHP has been at the helm of the web for many years
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
AssemblyAs close to writing machine code without writing in pure hexadecimal
SwiftPowerful and intuitive general-purpose programming language
GroovyPowerful, optionally typed and dynamic language
GoCompiled, statically typed programming language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
RDe facto standard among statisticians and data analysts
COBOLCommon Business-Oriented Language
ScalaModern, object-functional, multi-paradigm, Java-based language
FortranThe first high-level language, using the first compiler
ScratchVisual programming language designed for 8-16 year-old children
LuaDesigned as an embeddable scripting language
LogoDialect of Lisp that features interactivity, modularity, extensibility
RustIdeal for systems, embedded, and other performance critical code
LispUnique features - excellent to study programming constructs
AdaALGOL-like programming language, extended from Pascal and others
HaskellStandardized, general-purpose, polymorphically, statically typed language
SchemeGeneral-purpose, functional, language descended from Lisp and Algol
PrologGeneral purpose, declarative, logic programming language
ForthImperative stack-based programming language
ClojureDialect of the Lisp programming language
JuliaHigh-level, high-performance language for technical computing
SQLAccess and manipulate data held in a relational database management system
ErlangGeneral-purpose, concurrent, declarative, functional language
VimLPowerful scripting language of the Vim editor
OCamlGeneral-purpose, powerful, high-level language
AwkVersatile language designed for pattern scanning and processing
RacketPlatform for programming language design and implementation
BASICFamily of general-purpose, high-level programming languages
CoffeeScriptA very succinct programming language that transcompiles into JavaScript
LaTeXProfessional document preparation system and document markup language
ElixirRelatively new functional language that runs on the Erlang virtual machine
DartClient-optimized programming language for fast apps
ABAPAdvanced Business Application Programming
F#General purpose, strongly typed, multi-paradigm language. Part of ML
ChapelParallel-programming language in development at Cray Inc.
DylanMulti-paradigm language, supports functional & object-oriented programming
DGeneral-purpose systems programming language with a C-like syntax
SolidityObject-oriented, high-level language for implementing smart contracts
XMLSet of rules for defining semantic tags that describe the structure and meaning
ValaObject-oriented language with a self-hosting compiler that generates C code
ECMAScriptBest known as the language embedded in web browsers
KotlinStatically typed, general-purpose programming language with type inference
TypeScriptStrict syntactical superset of JavaScript, adding optional static typing
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
PikeInterpreted, general-purpose, high-level, cross-platform, dynamic language
HTMLHyperText Markup Language
FactorDynamic stack-based language
Objective-CGeneral purpose language which is a superset of C
Standard MLOne of the two main dialects of the ML language
AliceEducational language with an integrated development environment
AgdaDependently typed functional language based on intuitionistic type theory
IconHigh-level, general-purpose language
PureScriptSmall strongly, statically typed language with expressive types
TclDynamic language based on concepts of Lisp, C, and Unix shells
EiffelObject-oriented language
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.