Ruby

Share:

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

Percentage of developers using Ruby as their primary programming language by country or region

6%

Japan

2%

United States

2%

Canada

2%

France

2%

Brazil

2%

Central and South America

Coding experience of Ruby developers compared with other developers

5%

8%

Less than 1 year

10%

18%

1–2 years

19%

26%

3–5 years

22%

20%

6–10 years

17%

10%

11–16 years

26%

13%

16+ years

0%

4%

No professional coding experience

Which versions of Ruby do you use?

43%

Ruby 3.2

35%

26%

Ruby 3.1

30%

21%

Ruby 3.0

48%

31%

Ruby 2.7

17%

6%

Ruby 2.6

This year Ruby 3.2 overtook Ruby 2.7 as the most popular version, with a 43% share.

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

65%

Ruby 3.2

5%

Ruby 3.1

6%

Ruby 3.0

1%

Ruby 2.7

1%

JRuby 9.2

22%

No, I don't plan to

1%

Other

If and when 65% of Ruby developers move to Ruby 3.2, as they say they plan to do, it will be used by the vast majority.

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

51%

51%

rbenv

27%

31%

RVM

25%

31%

Docker

14%

16%

asdf

2%

5%

Chruby

2%

4%

Other

5%

6%

None

Which gem management tools do you regularly use, if any?

88%

67%

Bundler

8%

27%

Rbenv gemsets

20%

Docker

14%

17%

RVM gemsets

8%

asdf

2%

Chruby

5%

2%

None

How many gems have you authored?

50%

None

34%

1–5

9%

6–10

3%

11–30

4%

More than 30

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

92%

85%

Ruby on Rails

21%

17%

Rack

13%

13%

Sinatra

4%

7%

Grape

1%

2%

Padrino

Which version of Rails do you use?

27%

48%

Rails 7.0

23%

Rails 6.1

44%

9%

Rails 6.0

11%

10%

Rails 5.2

4%

0%

Rails 5.1

Developers are successfully adopting newer versions of Rails. Rails 7.0 has added 21 percentage points over the past year and is now the most popular version of the framework, while Rails 6.x has lost 12 percentage points.

Which servers do you regularly use in production?

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

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

201820192020202120222023
34%38%47%48%46%49%RubyMine
8%23%26%28%30%37%Visual Studio Code
10%7%4%6%10%5%IntelliJ IDEA with Ruby plugin
14%12%10%6%5%1%Vim
8%1%2%1%4%1%Emacs
11%8%4%3%1%Atom
11%11%5%5%4%2%Sublime Text
1%1%1%1%1%2%Other
049%

Which unit-testing frameworks do you regularly use, if any?

79%

RSpec

14%

MiniTest

9%

Shoulda

9%

Cucumber

6%

Test::Unit

6%

I don’t write unit tests for Ruby

4%

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

Which code quality tools do you use?

77%

RuboCop

23%

SimpleCov

7%

Code Climate

5%

Standard

3%

RubyCritic

3%

Coveralls

19%

I don’t use code quality tools for Ruby

Which type specification tools do you use?

15%

YARD

7%

RBS

7%

Sorbet

74%

None

Despite the efforts from the Ruby team and Stripe (the authors of Sorbet), type specification tools remain unpopular among a strong majority of Ruby developers. 74% don’t use any specification tools, and only 13% are planning to adopt this type of tool in the next 12 months.

Have you ever used remote development capabilities or remote interpreters for your Ruby code?

How often do you use remote development capabilities or remote interpreters for your Ruby code?

35%

I used them in the past, but have returned to local development

23%

Every day

20%

Twice a week, or more often

14%

More than once a month, but less than twice a week

8%

Once a month, or less often

Do you ever edit code on a remote machine?

68%

32%

Ruby

62%

38%

Swift

58%

42%

TypeScript

57%

43%

C#

57%

43%

GraphQL

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.