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

105 Mentors

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

26,526 Students

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

97 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 Yunus Emre AYBEy

Yunus Emre AYBEy https://github.com/YemreAybey

Student and Mentor at Microverse.org. I am a ruby enthusiast. I love to teach and learn.
Avatar of Anderson Reinkordt

Anderson Reinkordt CardFlight - Payment Acceptance Solution

I got my start using Ruby in 2014, learning Ruby on Rails and used it to launch my freelance career that eventually led to becoming a fulltime software engineer at CardFlight.
Avatar of Brandon A Welsh

Brandon A Welsh https://github.com/BrandonArmand

Lover of Open Source and Ruby! Reach out to me and get in touch with any questions or collaborations, I love to network and help.
Avatar of Takuya Kodama

Takuya Kodama GitHub

I want to work as a ruby developer because Ruby taught me how intersting programing is. I started to study Ruby 6 months ago but I've learned a lot of things from mentor and exercise in Exercism. I want to be like them to support people like me
Avatar of Warren Wright

Warren Wright https://github.com/wrightling

I am a software engineer by training, build and run software teams in practice, and am a longtime fan and user of Exercism!
Avatar of Yilkal Argaw

Yilkal Argaw https://github.com/yilkalargaw

An enthusiastic programmer who enjoys to explore various aspects of the computer industry. Worked on areas ranging from ASIC & FPGA based hardware design to Software Development in softwares like ruby, C, C++, perl,scheme, common-lisp and rust.
Fun. Challenging. Interesting

Community-sourced Ruby exercises

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

Series
easy
arrays
loops
enumerable
Robot Simulator
medium
concurrency
loops
sequences
strings
structs
Gigasecond
easy
time
Roman Numerals
easy
numbers
transforming
Raindrops
easy
conditionals
filtering
strings
Crypto Square
easy
cryptography
filtering
strings
text formatting
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 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.
Avatar of Maud de Vries

Maud de Vries

Ruby and Rails fan

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

Join the Ruby Track