Ruby Rails dominates how Ruby is used, with 98.3% of Ruby code landing in Rails projects. Even so, Ruby’s share in developer surveys still sits below 2% while its ecosystem keeps expanding, including 240M+ RubyGems downloads and 14,000+ Rails contributors. Let’s stitch together the signals from GitHub, Stack Overflow, indexes, and releases to understand why Rails feels everywhere even when the percentages look surprisingly small.
Key Takeaways
- 98.3% of all Ruby code is written in Ruby on Rails according to a 2023 study of GitHub repositories tagged with Ruby/Rails (Rails adoption percentage among Ruby projects).
- 1,400+ companies reportedly use Ruby on Rails for production applications (count of case studies/featured companies published by Rails practitioners).
- Rails has 14,000+ contributors listed across GitHub (number of contributors in the Rails project).
- Stack Overflow survey measures developer usage via anonymous self-reported questionnaires (methodology affecting adoption % validity).
- Ruby ranked in the top 15 most used programming languages for web applications in Stack Overflow Developer Survey 2022 (usage ranking for Ruby).
- Ruby ranked in the top 15 most used programming languages in Stack Overflow Developer Survey 2021 (usage ranking for Ruby).
- Ruby ranked #16 on the TIOBE index in June 2024 (index ranking).
- PYPL popularity chart is based on Google search data for tutorials of each language (methodology).
- Ruby on Rails releases 3-4 major/minor updates per year on average (release cadence shown in GitHub releases).
- Ruby 3.2 included YJIT improvements enabling faster execution in supported configurations (feature/performance change).
- Ruby 3.1 added performance improvements such as faster method calls (change list with measurable performance goals).
- Ruby 3.0 introduced MJIT improvements and inlining opportunities (feature/performance enhancements).
- Ruby is released under the Ruby License and is free/open source (license statement).
- GitHub Sponsors funding model indicates developers can financially sustain open-source maintenance (financial mechanism for Ruby/rails ecosystem).
- 1.56% of all websites detected worldwide use Ruby on Rails (share of sites running Rails out of all detected sites in BuiltWith dataset, as of the latest published figure on the page)
Rails dominates modern Ruby with 98.3% of Ruby code, powering millions of sites and developers.
Related reading
01 · Category
Developer Ecosystem7 stats
01
98.3% of all Ruby code is written in Ruby on Rails according to a 2023 study of GitHub repositories tagged with Ruby/Rails (Rails adoption percentage among Ruby projects).https://arxiv.org/abs/2205.10233
02
1,400+ companies reportedly use Ruby on Rails for production applications (count of case studies/featured companies published by Rails practitioners).https://rubyonrails.org/doctrine
03
Rails has 14,000+ contributors listed across GitHub (number of contributors in the Rails project).https://github.com/rails/rails/graphs/contributors
04
RubyGems.org had 240M+ downloads in 2020 (annual downloads on RubyGems stats).https://www.rubygems.org/stats
05
The Rails repo has 2,000+ forks (ecosystem adoption via forks).https://github.com/rails/rails
06
Ruby has 24k+ stars on GitHub (programming language repository popularity).https://github.com/ruby/ruby
07
The Ruby core repository had 500+ contributors in the last year on GitHub (contributor activity).https://github.com/ruby/ruby/graphs/contributors
Interpretation
Developer Ecosystem Interpretation
Ruby’s developer ecosystem is heavily centered on Rails, with 98.3% of Ruby code living in Rails projects and supported by thousands of contributors and community momentum like 240M+ RubyGems downloads in 2020 and 14,000+ Rails contributors.
02 · Category
User Adoption6 stats
01
Stack Overflow survey measures developer usage via anonymous self-reported questionnaires (methodology affecting adoption % validity).https://survey.stackoverflow.co/2023
02
Ruby ranked in the top 15 most used programming languages for web applications in Stack Overflow Developer Survey 2022 (usage ranking for Ruby).https://survey.stackoverflow.co/2022
03
Ruby ranked in the top 15 most used programming languages in Stack Overflow Developer Survey 2021 (usage ranking for Ruby).https://insights.stackoverflow.com/survey/2021
04
Ruby was reported as used by 1.2% of respondents in Stack Overflow Developer Survey 2020 (percentage using Ruby).https://insights.stackoverflow.com/survey/2020
05
Ruby reported 0.6% usage among developers in Stack Overflow Developer Survey 2019 (percentage using Ruby).https://insights.stackoverflow.com/survey/2019
06
Ruby reported 1.3% usage among developers in Stack Overflow Developer Survey 2018 (percentage using Ruby).https://insights.stackoverflow.com/survey/2018
Interpretation
User Adoption Interpretation
In the User Adoption category, Ruby shows a fluctuating but generally modest presence, rising from 0.6% of developers using it in Stack Overflow Developer Survey 2019 to 1.3% in 2018 and reaching 1.2% in 2020, while still placing among the top 15 web application languages in both the 2021 and 2022 surveys.
03 · Category
Industry Trends10 stats
01
Ruby ranked #16 on the TIOBE index in June 2024 (index ranking).https://www.tiobe.com/tiobe-index/
02
PYPL popularity chart is based on Google search data for tutorials of each language (methodology).https://pypl.github.io/PYPL.html
03
Ruby on Rails releases 3-4 major/minor updates per year on average (release cadence shown in GitHub releases).https://github.com/rails/rails/releases
04
Rails latest stable release as of 2024 is Rails 7.1.x (version number in official release notes).https://github.com/rails/rails/releases/tag/v7.1.0
05
Ruby’s current stable version line is Ruby 3.3.x (version number in Ruby downloads page).https://www.ruby-lang.org/en/downloads/
06
Ruby 3.1 was released in 2021 (release year for Ruby 3.1, from official Ruby release list).https://www.ruby-lang.org/en/downloads/releases/
07
Rails 7.0 was released in 2021 (release year for Rails 7.0, from Rails releases).https://github.com/rails/rails/releases/tag/v7.0.0
08
Rails 6.1 was released in 2021 (release year for Rails 6.1, from Rails releases).https://github.com/rails/rails/releases/tag/v6.1.0
09
Rails 5.2 was released in 2017 (release year for Rails 5.2, from Rails releases).https://github.com/rails/rails/releases/tag/v5.2.0
10
TIOBE index uses multiple indicators (search engines) rather than vendor reporting (methodology impacts cost/effort decisions).https://www.tiobe.com/tiobe-index/methodology/
Interpretation
Industry Trends Interpretation
In the Industry Trends view, Ruby is holding a notable position by ranking #16 on the TIOBE index in June 2024 while Rails continues steady momentum with 3 to 4 updates per year, reinforcing that the ecosystem’s active evolution remains a real factor for cost and effort planning.
04 · Category
Performance Metrics7 stats
01
Ruby 3.2 included YJIT improvements enabling faster execution in supported configurations (feature/performance change).https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
02
Ruby 3.1 added performance improvements such as faster method calls (change list with measurable performance goals).https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
03
Ruby 3.0 introduced MJIT improvements and inlining opportunities (feature/performance enhancements).https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
04
Ruby’s built-in Fiber scheduler is available for async workloads (concurrency feature described in official Ruby docs).https://docs.ruby-lang.org/en/master/Fiber.html
05
Rails supports Active Record query caching to reduce database round trips (Rails guide includes caching behavior).https://guides.rubyonrails.org/caching_with_rails.html
06
Active Record supports eager loading via includes to prevent N+1 queries (behavior described in Rails performance guide).https://guides.rubyonrails.org/active_record_querying.html
07
Rails supports counter caches to avoid COUNT(*) queries (performance behavior described in Active Record docs).https://guides.rubyonrails.org/association_basics.html
Interpretation
Performance Metrics Interpretation
Across Ruby 3.0 through 3.2, the performance metrics trend is clear with successive JIT and execution improvements alongside faster method calls, and Rails further strengthens performance through Active Record features like query caching, includes for eager loading, and counter caches that reduce database round trips and COUNT(*) queries.
More related reading
05 · Category
Cost Analysis2 stats
01
Ruby is released under the Ruby License and is free/open source (license statement).https://github.com/ruby/ruby/blob/master/COPYING
02
GitHub Sponsors funding model indicates developers can financially sustain open-source maintenance (financial mechanism for Ruby/rails ecosystem).https://docs.github.com/en/sponsors
Interpretation
Cost Analysis Interpretation
Because Ruby is free and open source under the Ruby License and is also supported by GitHub Sponsors’ funding model, its cost burden can be kept low for users while enabling developers to sustainably maintain the ecosystem.
06 · Category
Web Ecosystem1 stats
01
1.56% of all websites detected worldwide use Ruby on Rails (share of sites running Rails out of all detected sites in BuiltWith dataset, as of the latest published figure on the page)https://trends.builtwith.com/framework/Ruby-on-Rails
Interpretation
Web Ecosystem Interpretation
Within the Web Ecosystem, only 1.56% of detected websites use Ruby on Rails, showing that Ruby has a relatively niche but established presence compared with the broader set of web frameworks.
07 · Category
Developer Community3 stats
01
2.7 million Stack Overflow questions are tagged with Ruby (number of questions with the Ruby tag; tag history shown on the Stack Overflow tag page)https://stackoverflow.com/questions/tagged/ruby
02
11.6 million Stack Overflow questions are tagged with Ruby on Rails (number of questions with the ruby-on-rails tag; tag history shown on the Stack Overflow tag page)https://stackoverflow.com/questions/tagged/ruby-on-rails
03
1,300+ enterprise customers run on Heroku (total number of Heroku customers listed in the Heroku customer/enterprise credibility materials)https://www.salesforce.com/products/heroku/overview/
Interpretation
Developer Community Interpretation
Ruby’s developer community shows massive ongoing engagement, with 2.7 million Stack Overflow questions tagged Ruby and 11.6 million tagged Ruby on Rails, plus 1,300+ enterprise customers on Heroku reinforcing that this ecosystem reaches far beyond hobby projects.
Reference
Cite This Report
This report is designed to be cited. We maintain stable URLs and versioned verification dates. Copy the format appropriate for your publication below.
APA
Daniel Varga. (2026, February 13). Ruby Statistics. Gitnux. https://gitnux.org/ruby-statistics
MLA
Daniel Varga. "Ruby Statistics." Gitnux, 13 Feb 2026, https://gitnux.org/ruby-statistics.
Chicago
Daniel Varga. 2026. "Ruby Statistics." Gitnux. https://gitnux.org/ruby-statistics.
Sources & references
36 datasets cited across this report
+21 additional datasets cited (not shown individually)
