Project

General

Profile

Misc #16671

BASERUBY version policy

Added by ko1 (Koichi Sasada) 9 months ago. Updated 9 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
[ruby-core:97355]

Description

Ruby 2.7 (MRI) requires Ruby 2.2 or later (== BASERUBY) to build from repository.
Tarball does not need any installed Ruby.
To build latest Ruby from repository, you need to build Ruby 2.2 and later from a tarball.

Can we make the BASERUBY version update policy?

Background

To use ISeq#to_a (specific format) Ruby 2.2 or later is needed from Ruby 2.7.
The oldest version used by RubyCI machines was Ruby 2.2, so I determined update.
I needed to file a ticket about this version bump, sorry.


related: https://bugs.ruby-lang.org/issues/16668


Related issues

Related to Ruby master - Bug #16668: Syntax error in tool/vcs.rbClosedActions
Related to Ruby master - Bug #16845: Building Ruby with system Ruby 1.8.7 results in make failing due to syntax error in ./tool/lib/vcs.rbClosedActions
#1

Updated by ko1 (Koichi Sasada) 9 months ago

  • Related to Bug #16668: Syntax error in tool/vcs.rb added

Updated by naruse (Yui NARUSE) 9 months ago

Through the discussion around CI, I reached a conclusion "Runtime environment and development environment are different".

Though CentOS and macOS bundles very old ruby, but it's no problem because they are just runtime environment.
If people want to develop Ruby master on those environment, they can install latest stable ruby with tarball.

Therefore BASERUBY can be a reasonable newer stable version.
It means newer than Ruby installed by default on for example CentOS.

Updated by nobu (Nobuyoshi Nakada) 9 months ago

naruse (Yui NARUSE) wrote in #note-2:

Through the discussion around CI, I reached a conclusion "Runtime environment and development environment are different".

Note that it is true for years, for instance, Windows 9x was supported as a runtime environment but not as a development environment, at least.

Updated by shyouhei (Shyouhei Urabe) 9 months ago

I'm not against this issue but for record: commit 8a72c77c7920d129818b7b83bb4fa669cd7e3f7d says "as requested by devs, support for BASERUBY prior to 2.1". and the "devs" here included ko1. At that time his machine was a Panasonic laptop running Windows, and had older BASERUBY. Windows situation got improved since then (we now have CI). This might no longer be a problem.

#5

Updated by hsbt (Hiroshi SHIBATA) 7 months ago

  • Related to Bug #16845: Building Ruby with system Ruby 1.8.7 results in make failing due to syntax error in ./tool/lib/vcs.rb added

Also available in: Atom PDF