Project

General

Profile

Actions

Feature #38134

closed

Drop Ruby 2.6 support

Feature #38134: Drop Ruby 2.6 support

Added by Go MAEDA almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Ruby support
Target version:
Resolution:
Fixed

Description

The normal maintenance phase of Ruby 2.7 ended on 2022-04-22 (see https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/). And some gems dropped the support for Ruby 2.7.

Redmine currently supports Ruby 2.6, but this prevents us from updating some gems such as Rouge and Capybara.


Files

drop-ruby-2_6.patch (1.45 KB) drop-ruby-2_6.patch Go MAEDA, 2023-01-15 08:47

Related issues 2 (0 open — 2 closed)

Related to Redmine - Feature #38099: Add Ruby 3.2 supportClosedGo MAEDAActions
Related to Redmine - Defect #31834: redmine:email:receive_imap broken with ruby < 2.6.3 and Google ImapClosedActions

Updated by Go MAEDA almost 4 years ago Actions #1

  • Tracker changed from Patch to Feature

Updated by Go MAEDA almost 4 years ago Actions #2

  • Target version changed from Candidate for next major release to 5.1.0

We have to update Nokogiri to 1.14.0 to support Ruby 3.2. However, Nokogiri 1.14.0 ended support for Ruby 2.6. Therefore, Redmine cannot continue to support Ruby 2.6 any longer.

Updated by Go MAEDA almost 4 years ago Actions #3

Updated by Go MAEDA almost 4 years ago Actions #4

Go MAEDA wrote:

We have to update Nokogiri to 1.14.0 to support Ruby 3.2. However, Nokogiri 1.14.0 ended support for Ruby 2.6. Therefore, Redmine cannot continue to support Ruby 2.6 any longer.

Sorry, this is wrong. The trunk r22043 and later supports Ruby 3.2. This is because the Gemfile is written to use Nokogiri 1.13.10 only when Ruby 2.6 is used.

Updated by Go MAEDA almost 4 years ago Actions #5

Now Ruby 2.6 prevent us from upgrading Rouge.

For Rouge, I don't want to adopt the solution of installing different versions depending on the version of Ruby because the supported languages for syntax highlighting change depending on the installed Ruby. This is confusing for users.

Updated by Go MAEDA almost 4 years ago Actions #8

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Redmine now supports Ruby 2.7, 3.0, 3,1, and 3.2.

Updated by Go MAEDA almost 3 years ago Actions #9

  • Related to Defect #31834: redmine:email:receive_imap broken with ruby < 2.6.3 and Google Imap added
Actions

Also available in: PDF Atom