Upgrade Ruby to version 3.0.6

Note the structure of the Gemfile changes slightly because Ruby 3.0
includes a new version of the Bundler gem.
This commit is contained in:
Javi Martín
2022-09-10 00:16:37 +02:00
parent 4d11d8a395
commit 6c8445e3d7
6 changed files with 13 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ stages:
- lint
tests:
image: "ruby:2.7.7"
image: "ruby:3.0.6"
stage: test
services:
- postgres:10.10
@@ -34,7 +34,7 @@ tests:
# PRONTO_GITLAB_API_PRIVATE_TOKEN to your repository CI/CD settings
# giving it the value of the Personal Access Token
linters:
image: "ruby:2.7.7"
image: "ruby:3.0.6"
stage: lint
cache:
key: consul

View File

@@ -1 +1 @@
2.7.7
3.0.6

View File

@@ -1,4 +1,4 @@
FROM ruby:2.7.7-buster
FROM ruby:3.0.6-buster
ENV DEBIAN_FRONTEND noninteractive

View File

@@ -1,6 +1,11 @@
GEM
remote: https://rails-assets.org/
specs:
rails-assets-leaflet (1.5.1)
rails-assets-markdown-it (9.0.1)
GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
actioncable (6.0.6.1)
actionpack (= 6.0.6.1)
@@ -457,8 +462,6 @@ GEM
bundler (>= 1.3.0)
railties (= 6.0.6.1)
sprockets-rails (>= 2.0.0)
rails-assets-leaflet (1.5.1)
rails-assets-markdown-it (9.0.1)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
@@ -768,4 +771,4 @@ DEPENDENCIES
wkhtmltopdf-binary (~> 0.12.6)
BUNDLED WITH
2.1.4
2.2.33

View File

@@ -38,7 +38,7 @@ You can access the main website of the project at [http://consulproject.org](htt
**NOTE**: For more detailed instructions check the [docs](https://docs.consulproject.org)
Prerequisites: install git, Ruby 2.7.7, CMake, pkg-config, shared-mime-info, Node.js and PostgreSQL (>=9.5).
Prerequisites: install git, Ruby 3.0.6, CMake, pkg-config, shared-mime-info, Node.js and PostgreSQL (>=9.5).
```bash
git clone https://github.com/consul/consul.git

View File

@@ -36,7 +36,7 @@ Puedes acceder a la página principal del proyecto en [http://consulproject.org]
**NOTA**: para unas instrucciones más detalladas consulta la [documentación](https://docs.consulproject.org)
Prerequisitos: tener instalado git, Ruby 2.7.7, CMake, pkg-config, shared-mime-info, Node.js y PostgreSQL (9.5 o superior).
Prerequisitos: tener instalado git, Ruby 3.0.6, CMake, pkg-config, shared-mime-info, Node.js y PostgreSQL (9.5 o superior).
```bash
git clone https://github.com/consul/consul.git