🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉

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

116 Mentors

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

29,764 Students

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

98 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 Diego Torres

Diego Torres https://github.com/diegotc86

Ruby was the first programming language I used to build web applications so it has deep emotional roots on my mind. Right now I'm part of a coding bootcamp as an Instructor and Curriculum developer. Education is one of my major interests and I think becoming a mentor in Exercism will help to strengthen my knowledge and help others along the way.
Avatar of Mohnish G Jadwani

Mohnish G Jadwani https://github.com/boddhisattva

Mohnish is a programmer who cares about - programming as a craft, mentorship, diversity, inclusiveness and empathy. Away from work, he enjoys contributing to open source, blogging, and has even organized Ruby user group meetups in the past. He's also learning more of Elixir whenever he gets an opportunity.
Avatar of Bennet Palluthe

Bennet Palluthe https://github.com/Garllon

I love Ruby, because it is pretty and beautiful and the nicest language in the world.
Avatar of Oleksii Filonenko

Oleksii Filonenko

Ruby is my favourite programming language, and I use many ideas from Ruby in other languages. I also like teaching, Linux, and Free Software :)
Avatar of Balaji Raghavan

Balaji Raghavan https://github.com/blj

I love Ruby and have been using it professionally for more than 10 years. I also have been spending time on how to write a easy to read and easy to extend Ruby code. I am new to mentoring and a non-native English speaker. Please excuse my brevity. If my feedback to you is rude, first I am sorry and second it was not my intention. Please do reach out to me, it gives me an opportunity to learn through feedback for mentoring.
Avatar of Sam Minns

Sam Minns https://github.com/SamuSan

I'm mostly a Rubyist though I mess with JavaScript when necessary and have a secret love for Haskell. Giving back to the community is something dear to my heart, hence becoming a Ruby track mentor while learning some other bits!
Fun. Challenging. Interesting

Community-sourced Ruby exercises

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

Complex Numbers
easy
math
Grains
medium
bitwise operations
math
Two Fer
easy
strings
conditionals
Beer Song
easy
strings
loops
text formatting
Largest Series Product
easy
algorithms
integers
sequences
math
Roman Numerals
easy
numbers
transforming
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 Maud de Vries

Maud de Vries

Ruby and Rails fan
Avatar of Pedro Gaspar

Pedro Gaspar

Ruby has been my go-to language for the past 6 years. I love how readable and intuitive it is. I'm thankful for the opportunity to help others on their journey in any way I can and I'm hoping to become a better mentor in the process :)
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