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

54 Mentors

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

13,838 Students

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

90 Exercises

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

About Ruby

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
class HelloWorld
  def self.hello(name = 'World')
    "Hello, #{name}!"
  end
end

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 Victor Goff

Victor Goff https://github.com/kotp

Find me mentoring in person or online. Everyone starts somewhere! Contact me to pair program!
Avatar of Jackie Potts

Jackie Potts https://github.com/jpotts244

Hi! I'm a Ruby developer from NYC looking to help grow the community and get more people writing Ruby!
Avatar of Sabrina Gannon

Sabrina Gannon https://github.com/sganondorf

Ruby is the first language I've developed in professionally, I love it for it's readability and how it was developed with the intention to bring joy to those who write it.
Avatar of Jean-François Labbé

Jean-François Labbé https://github.com/jean-francois-labbe

Hello, I'm a devOps Engineer and full stack developer, love the design and testing principles enforced by the ruby community
Avatar of James McLaren

James McLaren

I started writing Ruby 4 years ago when I co-founded Workplace Arcade. I quickly fell in love with the language and have been using it ever since. I'm very passionate about mentoring and co-organize a local ruby meetup.
Avatar of Olaoluwa Oluro

Olaoluwa Oluro https://github.com/ollaollu

I love Ruby because of it's developer friendliness over everything and the speed of which you can just get going with tasks.
Fun. Challenging. Interesting

Community-sourced Ruby exercises

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

Book Store
hard
algorithms
floating point numbers
integers
lists
Pythagorean Triplet
medium
algorithms
math
Palindrome Products
medium
algorithms
math
Say
medium
numbers
strings
text formatting
transforming
Isbn Verifier
easy
arrays
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.

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