Upgrade Ruby to 2.7.1 (#7097) [deploy]

* Upgrade Ruby to 2.7.1

* Use explicit version in Dockerfile

* Fix docs Gemfile
This commit is contained in:
rhymes 2020-04-06 18:21:50 +02:00 committed by GitHub
parent 17037761a8
commit 5c17e5c25d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 15 additions and 11 deletions

View file

@ -1,7 +1,7 @@
FROM gitpod/workspace-postgres
# Install Ruby
ENV RUBY_VERSION=2.7.0
ENV RUBY_VERSION=2.7.1
RUN bash -lc "rvm install ruby-$RUBY_VERSION && rvm use ruby-$RUBY_VERSION --default"
# Install Redis.

View file

@ -1 +1 @@
2.7.0
2.7.1

View file

@ -6,7 +6,7 @@ cache:
- node_modules
- $HOME/.nvm
rvm:
- 2.7.0
- 2.7.1
addons:
postgresql: '9.6'
chrome: 'stable'

View file

@ -1,4 +1,4 @@
FROM ruby:2.7.0-alpine3.10
FROM ruby:2.7.1-alpine3.10
#------------------------------------------------------------------------------
#

View file

@ -1020,7 +1020,7 @@ DEPENDENCIES
zonebie (~> 0.6.1)
RUBY VERSION
ruby 2.7.0p0
ruby 2.7.1p83
BUNDLED WITH
2.1.4

View file

@ -7,7 +7,7 @@
<br>
<p align="center">
<a href="https://www.ruby-lang.org/en/">
<img src="https://img.shields.io/badge/Ruby-v2.7.0-green.svg" alt="ruby version">
<img src="https://img.shields.io/badge/Ruby-v2.7.1-green.svg" alt="ruby version">
</a>
<a href="http://rubyonrails.org/">
<img src="https://img.shields.io/badge/Rails-v5.2.3-brightgreen.svg" alt="rails version">

View file

@ -1,7 +1,11 @@
# frozen_string_literal: true
ruby_version = File.read(
File.join(File.dirname(File.dirname(__FILE__)), ".ruby-version"),
).strip
source "https://rubygems.org"
ruby "2.7.0"
ruby ruby_version
gem "activerecord", "~> 5.2.3" # Databases on Rails
gem "yard", "~> 0.9.19" # YARD is a documentation generation tool for the Ruby programming language

View file

@ -15,7 +15,7 @@ but they have only been tested on Ubuntu 18.04._
[rbenv](https://github.com/rbenv/rbenv). Please follow their
[installation guide](https://github.com/rbenv/rbenv#installation).
1. With the Ruby version manager, install the Ruby version listed on our badge.
(ie with rbenv: `rbenv install 2.7.0`)
(ie with rbenv: `rbenv install $(cat .ruby-version)`)
For very detailed rbenv installation directions on several distros, please visit
[DigitalOcean's guide](https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-18-04).

View file

@ -12,7 +12,7 @@ title: macOS
[rbenv](https://github.com/rbenv/rbenv). Please follow their
[installation guide](https://github.com/rbenv/rbenv#installation).
2. With the Ruby version manager, install the Ruby version listed on our badge.
(i.e. with rbenv: `rbenv install 2.7.0`)
(i.e. with rbenv: `rbenv install $(cat .ruby-version)`)
### Yarn

View file

@ -51,8 +51,8 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 2.7.0
rbenv global 2.7.0
rbenv install $(cat .ruby-version)
rbenv global $(cat .ruby-version)
ruby -v
```