Ruby

Join the Ruby Track
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.
Join the Ruby Track
Track mentors

73 Mentors

Our mentors are friendly, experienced Ruby developers who will help teach you new techniques and tricks.
Track students

15,988 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

91 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About Ruby

class HelloWorld
  def self.hello(name = 'World')
    "Hello, #{name}!"
  end
end

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

Ruby was created as a language of careful balance. Its creator, Yukihiro “Matz” Matsumoto, blended parts of his favorite languages (Perl, Smalltalk, Eiffel, Ada, and Lisp) to form a new language that balanced functional programming with imperative programming.

He has often said that he is "trying to make Ruby natural, not simple," in a way that mirrors life.

Building on this, he adds: "Ruby is simple in appearance, but is very complex inside, just like our human body."

You can read more about the Ruby language on its site.

Join the Ruby track

I loved the Ruby track

I loved the Ruby track (it is the only one I have finished so far). Solving over 80 different problems seems one of the most exciting ways to learn a language one barely knows. Improving my own solutions for readability and beauty rather than just passing the tests and performance taught me a little about Ruby and programming in general. I also liked comparing my solution to other ones - I could see the problem from other points of view.

Relaxed. Encouraging. Supportive.

Meet the Ruby Track mentors

Once you join the Ruby language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Derk-Jan Karrenbeld

Derk-Jan Karrenbeld https://github.com/SleeplessByte

When I started dabbling with programming in Ruby over 15 years ago, I did not expect it to pay my bills ánd make me happy!
Avatar of Conrad Beach

Conrad Beach https://github.com/conradbeach

I love the Ruby programming language; it's a joy to write code with it. The majority of my development experience is with Ruby, and I'm excited to help others learn it.
Avatar of Michael Anderson

Michael Anderson https://github.com/usufruct

Ruby will always be dear to me because it lets you say what you need in the way that you want. I use Ruby at work.
Avatar of Joel Taylor

Joel Taylor https://github.com/joeltaylor

Ruby was my gateway from English-lit to programming. I've been using it professionally for over five years and love it!
Avatar of Kaio Magalhaes

Kaio Magalhaes website

Software Engineer, programmer lover, Jiu-Jitsu fighter and code addicted.
Avatar of Josh Morrow

Josh Morrow https://github.com/jcmorrow

I've been using ruby professionally for five years. It was the first language I really fell in love with, and it's still my goto tool for quite a few tasks including web development.
Fun. Challenging. Interesting

Community-sourced Ruby exercises

These are a few of the 91 exercises on the Ruby track. You can see all the exercises here.

Twelve Days
medium
algorithms
pattern recognition
sequences
strings
text formatting
Saddle Points
medium
arrays
integers
matrices
searching
Pig Latin
medium
conditionals
strings
transforming
Bracket Push
medium
parsing
strings
Hello World
easy
strings
OCR Numbers
medium
parsing
pattern recognition
Passionate. Knowledgeable. Creative.

Meet the Ruby Track maintainers

The Ruby Maintainers are the brains behind the Ruby Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Hilary Holz

Hilary Holz

25+ years experience as a software engineer, specializing in the web since NCSA HTTPd and Mosaic. Ruby has been my primary language for the past 7 years; it fills me with glee.

Get started with the Ruby track. As with everything on Exercism, it's 100% free!

Join the Ruby Track