hero-background-image-header

Learn Ruby for Free

Learn Ruby with our free online Ruby workshop. In this beginner Ruby tutorial, you’ll familiarize yourself and get comfortable with object-oriented programming and how Ruby variables work — entirely free.

Why learn Ruby with Flatiron School?

Learn Ruby for free

Our Ruby lessons are free — that way you can set your schedule and learn at your own pace.

Try your hand in coding

Ruby is intuitive, approachable, and flexible, and is a great way to see if coding is right for you.

Prepare for a coding bootcamp

Our lessons to help you learn Ruby are free so you can see if coding is right for you before committing to a career-changing coding course.

Our grads work at some of tech's biggest companies

Washington Post logo
Salesforce logo
Spotify logo
Facebook logo
slack logo
Logo: Apple
Logo: NASA
Logo: Google
Logo: AT&T

Ruby for beginners: what you'll learn

Ruby is one of the most popular scripting languages in web development worldwide, and is utilized at some of tech's biggest companies like Airbnb, GitHub, and Shopify. In this free Ruby workshop, you'll learn the basic Ruby fundamentals free and fast while gauging if a career as a Ruby developer makes sense for you and your interests.

Introduction to Variables

Learn Ruby for beginners starts with variables and how they represent information, how they’re maintained, and how they’re reassigned.

Printing to the Console

Understand how to write Ruby, run code samples, and print their outputs.

Common Data Types

Get familiar with the common Ruby data types that you’re likely to encounter and use on a daily basis — strings, booleans, numbers, symbols, arrays, and hashes.

Conditional Statements

The foundation of Ruby works on if, else, and elsif statements — learn what they mean and how to use them.

Looping in Ruby

See how loops can be used to streamline processes and tell a Ruby program to do the same thing repeatedly — including using while and until statements.

Methods in Ruby

Learn how methods dictate what variables do, distinguish them from data types, and cover how to create and execute them in your Ruby program.

Other free coding tutorials at Flatiron School

Intro to HTML & CSS

Learn HTML and CSS and how to build simple, clean web pages.

Learn HTML & CSS

Intro to JavaScript

Master the fundamentals of modern web development with our free JavaScript workshop.

Learn JavaScript

Intro to API Integration

Learn how Application Programming Interfaces work and how to use them to connect applications.

Learn API Integration

Arrow
Ready for a career in software engineering? Learn more about our immersive Software Engineering course.
Learn More

Frequently asked questions about learning Ruby

What is Ruby?

Ruby is a general-purpose programming language designed to make programmers happy. It’s expressive, accessible, and reads like English, allowing new programmers to start building right away.

What is Ruby used for in coding?

Ruby is the language behind Ruby on Rails, a popular web framework used by many major websites including GitHub and Canvas. Ruby is also a versatile scripting language on its own and can be used to build tools and applications for your computer.

Where is Ruby language used?

Most often, Ruby code is written in files on a computer. These code files can be run using commands in a terminal. Since Rails is built using Ruby, you’ve likely interacted with a web application that was running Ruby code.

Is Ruby an interpreted language?

Yes. If you run a file containing Ruby code, it will read the code line by line right then. Some other programming languages require code to be ‘compiled’ into something the computer can run. In Ruby, this isn’t the case.

Is the Ruby language dead?

No. Ruby remains a wonderful, powerful programming language. Ruby has a huge, active online community and an ecosystem of tools available in the form of Ruby gems. These gems allow you to easily incorporate code from other programmers into your projects. The result is that with very little code of your own, you can build very useful things.

Who should learn Ruby?

Anyone who is interested in Rails, building servers, automating computer tasks and, really, anyone who is interested in learning how to program. Ruby is very good about communicating with you when things go wrong, so it can be a great language to learn when you’re first starting to learn how to code.

Is Flatiron School's free Learn Ruby tutorial really free?

Yes, Learn Ruby is free, just like the rest of our workshops and tutorials.

If you're looking to learn Ruby online for free, this is the perfect place to start. You'll learn Ruby free and fast, and will get acquainted with Ruby basics and use cases.

What courses and workshops does Flatiron School offer?

Flatiron School teaches students the skills they need to become a software engineer, data scientist, cybersecurity analyst, cybersecurity engineer, or product designer.

If you're looking to start a new career, those are the courses for you.

We also offer free introductory experiences for beginners in coding, data science, and cybersecurity.

Free tutorials:

Coding

Data Science

Cybersecurity