Documentation for a newer release is available. View Latest


Ruby 3.0

Fedora 34 provides Ruby 3.0, the latest version of the Ruby language. Notable features of Ruby 3.0, compared to previous versions:

  • The ability to run concurrently is updated with regards to Ruby 2.7, with Fiber Scheduler and the preliminary addition of Ractor.

  • Static typing: RBS provides a foundation for allowing programs written in Ruby to define types. Ruby remains a dynamically typed language by default, but RBS acts as an additional (foundation) layer of a program to provide static type functionality and gain some of the benefits of a statically typed language.

  • IRB gains some performance advantages: it is quicker, and now one can measure the execution time using the measure command.

  • Standard libraries are updated.

  • Pattern matching is now a stable feature.

See the release notes for more information.