Update Ruby version and add info about dev packages

This commit is contained in:
kidhab 2023-06-17 10:31:13 +02:00
parent 37b3b4523a
commit 4ac5bcae06

View file

@ -12,7 +12,7 @@ If instead you just want to run Foodsoft without changing its code, please refer
**System requirements**: **System requirements**:
[rbenv](https://github.com/rbenv/rbenv), [rbenv](https://github.com/rbenv/rbenv),
[Ruby 2.6+](https://www.ruby-lang.org/en/downloads/), [Ruby 2.7+](https://www.ruby-lang.org/en/downloads/),
[Bundler](http://bundler.io/), [Bundler](http://bundler.io/),
[MySQL](http://mysql.com/) / [SQLite](http://sqlite.org/), [MySQL](http://mysql.com/) / [SQLite](http://sqlite.org/),
[Redis](http://redis.io/) (optional). [Redis](http://redis.io/) (optional).
@ -32,6 +32,10 @@ If instead you just want to run Foodsoft without changing its code, please refer
Have a look how to avoid that in the [Docker Development Setup](./SETUP_DEVELOPMENT_DOCKER.md#prerequisites-windows-only) Have a look how to avoid that in the [Docker Development Setup](./SETUP_DEVELOPMENT_DOCKER.md#prerequisites-windows-only)
instructions. instructions.
1. Install developement packages. For Debian/Ubuntu:
sudo apt install default-libmysqlclient-dev libmagic-dev libxml2-dev libxslt-dev
1. Install and setup rbenv and Bundler. For Debian/Ubuntu: 1. Install and setup rbenv and Bundler. For Debian/Ubuntu:
sudo apt install rbenv sudo apt install rbenv