Recommended books for learning Ruby

Ruby is a beautiful programming language that balances functional programming with imperative programming with ideas inspired from other languages (Perl, Smalltalk, Eiffel, Ada, and Lisp).

If you want to take a deep dive into its fundamentals and learn more about what makes Ruby a favourite tool for programmers, below is a list of recommended books to start your journey.

Learn to program

A thorough, but lighthearted approach that teaches you the fundamentals of computer programming, with a minimum of fuss or bother. Whether you are interested in a new hobby or a new career, this book is your doorway into the world of programming.

Programming Ruby 3.3 (5th Edition)

The Pickaxe Book, named for the tool on the cover, is the definitive reference on Ruby, a highly-regarded, fully object-oriented programming language. This updated edition is a comprehensive reference on the language itself, with a tutorial on the most important features of Ruby.

Learn Enough Ruby to be Dangerous

Designed to get you started writing practical and modern Ruby programs as fast as possible, with a focus on the real tools used every day by software developers.

Practical Object-Oriented Design (An Agile Primer Using Ruby)

This book is a programmers tale about how to write object-oriented code. It explains object-oriented design (OOD) using realistic, understandable examples. POODR is a practical, readable introduction to how OOD can lower your costs and improve your applications.

The Well-Grounded Rubyist, Fourth Edition

For over fifteen years, The Well-Grounded Rubyist has taught beginner and developing Ruby programmers the veteran secrets of Ruby. This new fourth edition of the groundbreaking classic goes beyond syntax and commands into how a Rubyist really thinks.

Eloquent Ruby, Second Edition

Write better, clearer, more focused Ruby code by becoming truly fluent in the language. To express yourself eloquently in any language, you need to go beyond its vocabulary and syntax.

2 Likes

May I recommend Eloquent Ruby by Russ Olsen? It was my first book about Ruby, and it really helped me understand the language, in a general sense. Also, the second edition released in late 2025, so there’s some new goodies in it.

3 Likes

Thanks for the suggestion! I updated the list with that book too.

Also, if you want a more up-to-date link to The Well-Grounded Rubyist, there is a new edition that is now in early access: The Well-Grounded Rubyist, Fourth Edition - David A Black and Joseph Leo III

Thanks for the heads up! I updated the link to the fourth edition.