diff options
-rw-r--r-- | .appveyor.yml | 2 | ||||
-rw-r--r-- | .github/workflows/baseruby.yml | 5 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | doc/contributing/building_ruby.md | 2 |
4 files changed, 5 insertions, 8 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 161d2b74a7..2762a5759c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -20,7 +20,7 @@ skip_commits: - '**/*.[1-8]' - '**/*.ronn' environment: - ruby_version: "24-%Platform%" + ruby_version: "25-%Platform%" matrix: # Test only the oldest supported version because AppVeyor is unstable, its concurrency # is limited, and compatibility issues that happen only in newer versions are rare. diff --git a/.github/workflows/baseruby.yml b/.github/workflows/baseruby.yml index aa42e58f20..4e421a1041 100644 --- a/.github/workflows/baseruby.yml +++ b/.github/workflows/baseruby.yml @@ -31,10 +31,7 @@ jobs: strategy: matrix: ruby: - - ruby-2.2 -# - ruby-2.3 -# - ruby-2.4 -# - ruby-2.5 + - ruby-2.5 # - ruby-2.6 # - ruby-2.7 - ruby-3.0 diff --git a/configure.ac b/configure.ac index d172c056a0..8624d366b5 100644 --- a/configure.ac +++ b/configure.ac @@ -64,8 +64,8 @@ AC_ARG_WITH(baseruby, [ AC_PATH_PROG([BASERUBY], [ruby], [false]) ]) -# BASERUBY must be >= 2.2.0. Note that `"2.2.0" > "2.2"` is true. -AS_IF([test "$HAVE_BASERUBY" != no -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42 if RUBY_VERSION > "2.2"' 2>/dev/null`" = 42], [ +# BASERUBY must be >= 2.5.0. Note that `"2.5.0" > "2.5"` is true. +AS_IF([test "$HAVE_BASERUBY" != no -a "`RUBYOPT=- $BASERUBY --disable=gems -e 'print 42 if RUBY_VERSION > "2.5"' 2>/dev/null`" = 42], [ AS_CASE(["$build_os"], [mingw*], [ # Can MSys shell run a command with a drive letter? RUBYOPT=- `cygpath -ma "$BASERUBY"` --disable=gems -e exit 2>/dev/null || HAVE_BASERUBY=no diff --git a/doc/contributing/building_ruby.md b/doc/contributing/building_ruby.md index 452f0d16b4..8098b72927 100644 --- a/doc/contributing/building_ruby.md +++ b/doc/contributing/building_ruby.md @@ -18,7 +18,7 @@ * bison - 3.0 or later * gperf - 3.1 or later * Usually unneeded; only if you edit some source files using gperf - * ruby - 2.2 or later + * ruby - 2.5 or later * We can upgrade this version to system ruby version of the latest Ubuntu LTS. 2. Install optional, recommended dependencies: |