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
1 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,7 @@ If instead you just want to run Foodsoft without changing its code, please refer
**System requirements**:
[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/),
[MySQL](http://mysql.com/) / [SQLite](http://sqlite.org/),
[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)
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:
sudo apt install rbenv
@ -175,4 +179,4 @@ within a docker image. While the default [`Dockerfile`](../Dockerfile) is setup
use docker-compose (using [`docker-compose-dev.yml`](../docker-compose-dev.yml)) to
setup the whole stack at once.
See [Setup Development Docker](./SETUP_DEVELOPMENT_DOCKER.md) for a detailed description.
See [Setup Development Docker](./SETUP_DEVELOPMENT_DOCKER.md) for a detailed description.