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:
@@ -3,7 +3,7 @@ stages:
|
|||||||
- lint
|
- lint
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
image: "ruby:2.7.7"
|
image: "ruby:3.0.6"
|
||||||
stage: test
|
stage: test
|
||||||
services:
|
services:
|
||||||
- postgres:10.10
|
- postgres:10.10
|
||||||
@@ -34,7 +34,7 @@ tests:
|
|||||||
# PRONTO_GITLAB_API_PRIVATE_TOKEN to your repository CI/CD settings
|
# PRONTO_GITLAB_API_PRIVATE_TOKEN to your repository CI/CD settings
|
||||||
# giving it the value of the Personal Access Token
|
# giving it the value of the Personal Access Token
|
||||||
linters:
|
linters:
|
||||||
image: "ruby:2.7.7"
|
image: "ruby:3.0.6"
|
||||||
stage: lint
|
stage: lint
|
||||||
cache:
|
cache:
|
||||||
key: consul
|
key: consul
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2.7.7
|
3.0.6
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM ruby:2.7.7-buster
|
FROM ruby:3.0.6-buster
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
|||||||
11
Gemfile.lock
11
Gemfile.lock
@@ -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
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
remote: https://rails-assets.org/
|
|
||||||
specs:
|
specs:
|
||||||
actioncable (6.0.6.1)
|
actioncable (6.0.6.1)
|
||||||
actionpack (= 6.0.6.1)
|
actionpack (= 6.0.6.1)
|
||||||
@@ -457,8 +462,6 @@ GEM
|
|||||||
bundler (>= 1.3.0)
|
bundler (>= 1.3.0)
|
||||||
railties (= 6.0.6.1)
|
railties (= 6.0.6.1)
|
||||||
sprockets-rails (>= 2.0.0)
|
sprockets-rails (>= 2.0.0)
|
||||||
rails-assets-leaflet (1.5.1)
|
|
||||||
rails-assets-markdown-it (9.0.1)
|
|
||||||
rails-dom-testing (2.0.3)
|
rails-dom-testing (2.0.3)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
@@ -768,4 +771,4 @@ DEPENDENCIES
|
|||||||
wkhtmltopdf-binary (~> 0.12.6)
|
wkhtmltopdf-binary (~> 0.12.6)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.1.4
|
2.2.33
|
||||||
|
|||||||
@@ -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)
|
**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
|
```bash
|
||||||
git clone https://github.com/consul/consul.git
|
git clone https://github.com/consul/consul.git
|
||||||
|
|||||||
@@ -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)
|
**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
|
```bash
|
||||||
git clone https://github.com/consul/consul.git
|
git clone https://github.com/consul/consul.git
|
||||||
|
|||||||
Reference in New Issue
Block a user