Ruby 3.3
First install rbenv:
# MacOS
brew install rbenv mupdf nodejs
# Ubuntu Linux
sudo apt install rbenv libyaml-dev libvips-dev mupdf nodejs
# Arch Linux
sudo yay -S rbenv base-devel libyaml libvips mupdf tesseract-data-eng nodejsThen install rbenv:
rbenv init
# Now follow its instructions to complete the installation.Go into your project and write the following commands:
rbenv install 3.3.6
rbenv local 3.3.6Run ruby --version to verify that its now on version 3.3.6.
Now go to Gem configuration to continue.
Set up where gems should be installed, then install the dependencies.
bundle config set --local path vendor/bundle
bundle installInitializes and migrates the database (sqlite) to the latest revision available in the project.
bin/rails db:create
bin/rails db:migrateFor testing, there is some example data already generated for you in
db/seeds.db. To use it write the following.
bin/rails db:seedFurther, there is a huge amount of premade labels inside credentials.yml.enc,
which you can access if you have configured config/master.key. Ask frequent
contributors for this file if you need these premade labels. These labels may
also be used in production.
bin/rails db:custom_seedbin/rails serverSee PRODUCTION.md
-
How to run the test suite
-
Services (job queues, cache servers, search engines, etc.)
-
...

