Ruby is a programming language. Ruby on Rails ("RoR") is a web-application framework that is implemented in Ruby.
So they not only "work together" but RoR depends on Ruby.
Answer from lutz on Stack OverflowReddit
reddit.com › r/learnprogramming › what's the difference between ruby and rails?
r/learnprogramming on Reddit: What's the difference between Ruby and Rails?
September 3, 2016 -
How do they work together?
Top answer 1 of 2
6
"Ruby" is a general-purpose programming language. "Ruby on Rails" is a specific framework written in Ruby that comes with a lot of pre-written functions and classes that implement a variety of useful features that when used, makes it easier for a programmer to create and write the backend for web application. There are more frameworks written in Ruby that do the same thing (e.g. Sinatra), but Ruby on Rails is a very popular one. The two work together in the same way any programming language and library work together.
2 of 2
1
What's the difference between English and Harry Potter? One is a language, and the other is a (popular) thing written in that language. (Don't take this analogy too far.)
Rails or Ruby first?
Ruby is the language. Rails is a framework. You can’t use Rails without knowing Ruby. You can learn them “together” but Ruby exists without Rails, but Rails doesn’t exist without Ruby. More on community.spiceworks.com
Ruby or Ruby on rails ?
Abdullah Mohamed is having issues with: what is the difference between ruby and ruby on rails and what is the uses for each one and what to learn first ? More on teamtreehouse.com
What's the difference between Ruby and Rails?
"Ruby" is a general-purpose programming language. "Ruby on Rails" is a specific framework written in Ruby that comes with a lot of pre-written functions and classes that implement a variety of useful features that when used, makes it easier for a programmer to create and write the backend for web application. There are more frameworks written in Ruby that do the same thing (e.g. Sinatra), but Ruby on Rails is a very popular one. The two work together in the same way any programming language and library work together. More on reddit.com
What's Ruby and Ruby on Rails used for? Is it worth learning? Is it obsolete?
Rails is the rough equivalent of Django for Python. It's a framework for building full stack web applications, using Ruby as the server language. The language is neither obsolete nor is it super popular. It had a big wave of popularity from around 2008 to 2012, but it somewhat faded from mainstream popularity around that time, as many people found that it's great when you want to do things the way Rails wants you to, but difficult if you want to do things a custom way (no personal experience there, just relaying what I remember others complaining about at the time). This was around the time of the "rockstar coders" meme/trope. Twitter was probably one of the biggest well-known names using RoR at the time, and they switched to JVM languages in 2011, citing performance (which, of course, caused lots of other people who didn't need that kind of performance to switch anyway, because some people like to think that they'll deal with the same kind of scale problems as a company like Twitter). Anyway, it's potentially worth learning, but not necessarily a better choice than something like Django or Flask for Python, or something like Node.js. I believe The Odin Project still uses it, and that's a very frequently recommended course on this subreddit (I think they also have a Node course now too). More on reddit.com
Videos
02:52
What Is The Difference Between Ruby And Ruby On Rails? - Next LVL ...
Is Ruby on Rails Still Worth Learning in 2025? (Here's the Truth)
06:22
Rails vs Other Frameworks -- What No One Tells You - YouTube
12:52
What They Don't Tell you About Ruby on Rails - YouTube
04:37
You Won't Believe How Easy Ruby On Rails Can Be in 2024
Top answer 1 of 6
103
Ruby is a programming language. Ruby on Rails ("RoR") is a web-application framework that is implemented in Ruby.
So they not only "work together" but RoR depends on Ruby.
2 of 6
22
Ruby is a general purpose language. Ruby on Rails is a Ruby framework for implementing web applications.
Reinteractive
reinteractive.com › articles › Why-Ruby-on-Rails-is-still-the-best-choice
Why Ruby on Rails is Still the Best Choice? | reinteractive blog
April 16, 2017 - What you want is something that a new developer can start on at 9am and could contribute meaningful code before she goes off to have her lunch. So what would be the ideal characteristics of a software platform to build the vast majority of business software? From my experience, there are 8 attributes and they are: ... Cost effective The rest of this post will show how Rails averages the highest in my opinion across all 8 of these points. Ruby on Rails is widely recognised as one of the fastest ways to rapidly iterate on a functional design to build an application and get it launched.
Syndicode
syndicode.com › home › ideas & insights › ruby vs. ruby on rails: same or different?
Ruby vs. Ruby on Rails and other languages: 5 things to know
September 1, 2025 - You already know that Ruby is at the heart of the Ruby on Rails framework. Hence, the latter has inherited many of the former’s benefits. The most important are listed below. Both Ruby and Rails aim to simplify the coding process. Ruby’s syntax is clean, with a focus on readability.
Netsmartz
netsmartz.com › home › blog › build your team @ netsmartz › ruby vs. ruby on rail: make the right choice for your next project!
Ruby vs. Ruby on Rails: Choosing the Right Technology for Your Project
December 29, 2025 - Rails promote the use of convention over configuration (COC), which allows developers to write a code line once, eliminating the need for developers to write the same lines of code again. This makes the web-building process easier. Ruby and Ruby on Rails may coexist; many apps and projects use Ruby on Rails to increase Ruby’s functionality and efficacy, making the programming language more effective and potent.
SitePoint
sitepoint.com › blog › ruby › putting ruby, rails, c#, and asp.net in context
Putting Ruby, Rails, C#, and ASP.NET in context — SitePoint
November 11, 2024 - While “most” web applications built on any flavor of ASP.NET are written in C#, all applications built on any flavor of Rack are written in Ruby. Rails is an open source framework, and much like Ruby, its development is driven by the community.
Codecademy
codecademy.com › home › what is ruby on rails?
What Is Ruby on Rails + What Is It Used For?
February 10, 2026 - It’s an open-source tool written in the Ruby programming language that takes care of repetitive tasks so you can focus on what makes your project unique. Modern web applications can be complex, with many layers to manage. Rails simplifies this process by providing a pre-built structure for your code.
Appsierra
appsierra.com › blog › ruby-on-rails-vs-ruby
Ruby on Rails vs Ruby - What's the Difference?
At the point when you join Ruby with Rails, you improve the first language a bundle and make it ideal for chipping away at current sites. It’s adaptable, as well—you can work with Ruby on Rails utilizing HTML, and it makes an incredible language for composing data set calls and worker side applications.
Quora
quora.com › Is-Ruby-or-Ruby-On-Rails-still-commonly-used-in-programming
Is Ruby or Ruby On Rails still commonly used in programming? - Quora
Answer: Yes, absolutely. Maybe not as prevalent as it was, but there are large codebases and applications out there running on Rails and they will be for years to come. My own team manages a large Rails application among other systems in other languages, and we will be using Rails for years to co...
Jetruby
jetruby.com › home › hard to choose? asp.net vs. ruby on rails in depth. 5 comparison points!
Hard to choose? ASP.NET vs. Ruby on Rails in Depth. 5 comparison points! | Jetruby
April 21, 2025 - So, whether you’re starting a new project or scaling an existing one, Rails has the toolkit and the community to support you all the way. Ruby on Rails provides tools for building exceptional web applications, including rendering dynamic HTML, interacting with databases, sending and receiving emails, and supporting WebSockets for real-time updates.
Team Treehouse
teamtreehouse.com › community › ruby-or-ruby-on-rails
Ruby or Ruby on rails ? (Example) | Treehouse Community
September 14, 2015 - Ruby on Rails is a web application framework made with Ruby and also uses the Ruby programming language to add to the framework and make it do what you want it to do.