Learn Ruby

Learn to program in Ruby, a flexible and beginner-friendly language used to create sites like Codecademy.

4.48 out of 5 stars
165,197 learners enrolled
  • Skill level

  • Time to complete

    Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary
    9 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites


About this course

Ruby is a general-purpose language that is still popular and in high demand in the marketplace, as it’s more commonly used in Rails applications.

Concise and readable, it is easy to pick up but also plenty powerful. Companies like Twitter, Soundcloud, Goodreads, and Kickstarter got their products off the ground with Ruby.


19 lessons

The platform

Hands-on learning

Animated GIF of an AI learning assistant explaining an error within Codecademy's learning environment
Mobile-friendly version of a lesson and code editor for the course 'Introduction to HTML' running in Codecademy's learning environment
An AI-generated hint within the instructions of a Codecademy project
Animated GIF of a mouse cursor hovering over the Python term "comment" displaying a Docs tooltip within a Codecademy lesson

Learn Ruby course ratings and reviews

4.48 out of 5 stars
2,390 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • This course is perfect for beginners like myself. I've learned some basics of Ruby and now I'm looking forward to practising them with my teacher. Thank you!
    Anastasiia R.
    Verified Learner
  • This was the only solution I could find to really understand the Ruby programming language thoroughly. I still have a ways to go, but Codecademy's Ruby course is the GOAT!
    John S.
    Verified Learner
  • This is a fantastic way to start learning Ruby. I really learned a lot, it really helped me with my class I was able start writing Ruby code.
    Jose S.
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Frequently asked questions about Ruby

  • Ruby is an open-source programming language, making it free for anyone to use or contribute to. It’s also cross-platform, so you can run its code on any operating system. Ruby’s syntax lacks many of the special symbols you’ll find in some other languages, and as a general-purpose language, it has a wide range of applications.

Join over 50 million learners and start Learn Ruby today!

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.