Patch #32788

Specify supported Ruby version in Gemfile and doc/INSTALL

Added by Go MAEDA 11 days ago. Updated 9 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Ruby support
Target version:4.0.7

Description

Currently, source:tags/4.1.0/doc/INSTALL says that Redmine 4.1.0 supports Ruby 2.3 or later. However, Redmine 4.1.0 does not yet support Ruby 2.7 (#31500).

The document should list all supported Ruby versions to prevent users from using unsupported the latest Ruby version.

list-all-supported-ruby-versions.patch Magnifier (246 Bytes) Go MAEDA, 2020-01-12 06:27

specify-ruby-version-in-gemfile.patch Magnifier (469 Bytes) Go MAEDA, 2020-01-13 01:33


Related issues

Related to Redmine - Patch #32787: Redmine 4.0 no longer supports Ruby 2.2 Closed

Associated revisions

Revision 19425
Added by Go MAEDA 9 days ago

Specify supported Ruby version in Gemfile and doc/INSTALL (#32788).

Revision 19426
Added by Go MAEDA 9 days ago

Merged r19425 from trunk to 4.1-stable (#32788).

Revision 19427
Added by Go MAEDA 9 days ago

Merged r19425 from trunk to 4.0-stable (#32788).

History

#1 Updated by Go MAEDA 11 days ago

  • Related to Patch #32787: Redmine 4.0 no longer supports Ruby 2.2 added

#2 Updated by Jean-Philippe Lang 11 days ago

A probably better option would be to set this as a dependency in the Gemfile: https://bundler.io/v1.12/gemfile_ruby.html
That would ensure that a compatible ruby version is used.
What do you think?

#3 Updated by Marius BALTEANU 11 days ago

Jean-Philippe Lang wrote:

A probably better option would be to set this as a dependency in the Gemfile: https://bundler.io/v1.12/gemfile_ruby.html
That would ensure that a compatible ruby version is used.
What do you think?

I’m favor of this option.

#4 Updated by Go MAEDA 10 days ago

  • File specify-ruby-version-in-gemfile.patchMagnifier added
  • Subject changed from List all supported Ruby versions in doc/INSTALL to Specify supported Ruby version in Gemfile
  • Category changed from Documentation to Ruby support

Jean-Philippe Lang wrote:

A probably better option would be to set this as a dependency in the Gemfile: https://bundler.io/v1.12/gemfile_ruby.html
That would ensure that a compatible ruby version is used.
What do you think?

It is a more sophisticated way than simply describing in the document. I didn't know the feature of Bundler. Thank you for the advice.

The attached is a new patch that updates both Gemfile and doc/INSTALL.

#5 Updated by Go MAEDA 9 days ago

  • Subject changed from Specify supported Ruby version in Gemfile to Specify supported Ruby version in Gemfile and doc/INSTALL
  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch.

Also available in: Atom PDF