Update Ruby version to 2.6.6

This commit is contained in:
Patrick Gansterer 2020-03-23 15:39:06 +01:00
parent 67ab647eb0
commit 7e3c601a25
5 changed files with 8 additions and 7 deletions

View File

@ -1 +1 @@
2.4.6 2.6.6

View File

@ -1,7 +1,8 @@
language: ruby language: ruby
dist: bionic
sudo: false sudo: false
rvm: rvm:
- 2.4 - 2.6
services: services:
- mysql - mysql
- redis-server - redis-server

View File

@ -1,4 +1,4 @@
FROM ruby:2.4 FROM ruby:2.6
RUN supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \ RUN supercronicUrl=https://github.com/aptible/supercronic/releases/download/v0.1.3/supercronic-linux-amd64 && \
supercronicBin=/usr/local/bin/supercronic && \ supercronicBin=/usr/local/bin/supercronic && \

View File

@ -1,4 +1,4 @@
FROM ruby:2.4 FROM ruby:2.6
# Install dependencies # Install dependencies
RUN deps='libmagic-dev chromium' && \ RUN deps='libmagic-dev chromium' && \

View File

@ -34,13 +34,13 @@ If instead you just want to run Foodsoft without changing its code, please refer
[Docker Development Setup](./SETUP_DEVELOPMENT_DOCKER.md#prerequisites-windows-only) [Docker Development Setup](./SETUP_DEVELOPMENT_DOCKER.md#prerequisites-windows-only)
instructions. instructions.
1. Install RVM and Ruby 2.4+ (if you have not done so before): 1. Install RVM and Ruby 2.6+ (if you have not done so before):
\curl -L https://get.rvm.io | bash \curl -L https://get.rvm.io | bash
source ~/.rvm/scripts/rvm source ~/.rvm/scripts/rvm
rvm install 2.4 rvm install 2.6
We try to keep Foodsoft compatible with Ruby 2.4 as well as any later versions, We try to keep Foodsoft compatible with Ruby 2.6 as well as any later versions,
so if you use this and don't want to use RVM, that might actually work. so if you use this and don't want to use RVM, that might actually work.
2. Install system dependencies. 2. Install system dependencies.