From d984a47c19f16c92849c0adf0cad4b0737b0b88f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Sat, 17 Aug 2019 10:34:19 +0200 Subject: [PATCH] Zeitwerk requires Ruby >= 2.5.4 --- Gemfile | 4 ++-- INSTALL.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 9cfa0c3..de293ae 100644 --- a/Gemfile +++ b/Gemfile @@ -1,11 +1,11 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '>= 2.5.0' +ruby '>= 2.5.4' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '6.0.0' -gem 'rails-i18n', '~> 6.0.0.beta1' +gem 'rails-i18n', '~> 6.0.0' # Use mysql as the database for Active Record gem 'mysql2', '>= 0.4.4', '< 0.6.0' # Use Puma as the app server diff --git a/INSTALL.md b/INSTALL.md index a499f60..aa14382 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,13 +3,13 @@ ## Requirements Chexpire requires : -* Ruby > 2.3.3 and Bundler +* Ruby > 2.5.4 and Bundler * NodeJS and Yarn * MySQL or MariaDB We are usually running Chexpire on typical POSIX servers like : -- Linux Debian 9, Ruby 2.5.1, NodeJS 8.11 and MariaDB 10.1 -- macOS High Sierra, Ruby 2.5.1, NodeJS 10.2.1 and MariaDB 10.2 +- Linux Debian 9, Ruby 2.5.4, NodeJS 8.11 and MariaDB 10.1 +- macOS High Sierra, Ruby 2.5.4, NodeJS 10.2.1 and MariaDB 10.2 It probably works on any system that supports Ruby >2.3, NodeJS >6 and MySQL >5.5. Feel free to report any unexpected incompatibilities. @@ -21,7 +21,7 @@ If you are familiar with Ansible, you can use our [Ansible roles](http://forge.e […] roles: - mysql - - { role: rbenv, username: "{{ ansible_user }}", rbenv_ruby_version: "2.5.1" } + - { role: rbenv, username: "{{ ansible_user }}", rbenv_ruby_version: "2.5.4" } - { role: nodejs, nodejs_install_yarn: yes } […] ``` @@ -63,7 +63,7 @@ Create the file if missing : `cp config/secrets.example.yml config/secrets.yml`. Create the file if missing : `cp config/chexpire.example.yml config/chexpire.yml`. Set at least the `mailer_default_from` and `host` variables. See other configuration overridable in `config/chexpire.defaults.yml`. -## Database +## Database You need databases for development and tests. You can create them like this (once connected to you MySQL server) :