Ruby

Share:

These questions were only shown to the developers who chose Ruby as one of their three primary programming languages.

Shares of Ruby as primary programming language by country or region

7%

Japan

3%

Canada

3%

United States

3%

Brazil

3%

United Kingdom

2%

Latin America

2%

India

Coding experience

5%

9%

Less than 1 year

13%

17%

1–2 years

16%

25%

3–5 years

22%

19%

6–10 years

15%

11%

11–16 years

28%

13%

16+ years

1%

5%

No professional coding experience

Ruby developers tend to be highly experienced – more than 50% have more than 5 years of experience.

What types of software do you develop with Ruby?

58%

Websites

18%

Utilities (small apps for small tasks)

13%

Libraries / Frameworks

13%

System Software

12%

Finance

11%

Programming Tools

10%

Database / Data Storage

Which versions of Ruby do you use the most?

3%

2%

I'm not sure

35%

Ruby 3.1

30%

19%

Ruby 3.0

48%

51%

Ruby 2.7

17%

33%

Ruby 2.6

35%

of Ruby developers moved to Ruby 3.1 this year. However, Ruby 2.7 remains the most popular version among respondents.

Do you plan to move to a newer version of Ruby in the next 12 months? If so, to which one?

30%

No, I don't plan to

45%

Ruby 3.1

15%

Ruby 3.0

7%

Ruby 2.7

1%

Ruby 2.5

2%

Other

45%

of Ruby developers plan to migrate to Ruby 3.1 in the next year.

Which tools do you use to manage different versions of Ruby?

51%

53%

Rbenv

27%

37%

RVM

25%

30%

Docker

14%

10%

Asdf

2%

2%

Chruby

2%

2%

Other

5%

5%

None

RVM usage dropped by 10 percentage points among Ruby developers since last year.

Which gem management tools do you regularly use?

88%

90%

Bundler

14%

12%

RVM gemsets

8%

6%

Rbenv gemsets

0%

1%

Other

5%

6%

None

In general, the use of gemsets is becoming less popular among Ruby developers.

How many gems have you authored?

54%

None

33%

1–5

10%

6–10

2%

11–30

2%

More than 30

What web development tools and / or frameworks do you regularly use?

92%

86%

Ruby on Rails

21%

17%

Rack

13%

20%

Sinatra

4%

4%

Grape

2%

Opal

The share of the Ruby on Rails framework has increased by 8 percentage points since last year. Meanwhile, the shares of Sinatra decreased by 7 percentage points.

Which version of Rails do you use?

1%

2%

Rails Edge

27%

Rails 7.0

44%

52%

Rails 6.0

11%

20%

Rails 5.2

4%

4%

Rails 5.1

44%

of respondents still use Rails 6.0, although 27% prefer version 7.0.

Which servers do you regularly use in production?

201720182019202020212022
45%53%52%58%60%58%Puma
39%31%28%22%19%15%Unicorn
35%30%29%22%21%19%Passenger
12%7%8%4%5%4%Thin
5%1%2%2%Other
9%16%15%19%17%16%None
060%

Over the last 6 years, we’ve seen growth in Puma and a gradual decrease in other servers.

What editor / IDE do you mostly use for Ruby development?

46%

RubyMine

30%

Visual Studio Code

10%

IntelliJ IDEA with Ruby plugin

5%

Vim

4%

Emacs

4%

Sublime Text

1%

Atom

1%

Other

Despite all of the measures we’ve taken to secure a representative pool of respondents, the results may be slightly skewed towards users of JetBrains products, as they are more likely to participate in the survey.

Which unit-testing frameworks do you regularly use?

84%

RSpec

15%

MiniTest

9%

Test::Unit

6%

Shoulda

6%

Cucumber

5%

I don’t write unit tests for Ruby

2%

I write unit tests, but don’t use any frameworks

1%

Other

Do you use any frontend JavaScript framework along with Ruby on Rails or another server-side Ruby framework?

46%

React

21%

Vue.js

5%

Angular

2%

AngularJS

1%

Ember

10%

Other

29%

I don’t use such frameworks with Ruby on Rails

Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.