Ruby 3.3
First install rbenv
:
# MacOS
brew install rbenv
# Ubuntu Linux
sudo apt install rbenv libyaml-dev libvips-dev mupdf
Then 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.6
Run 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 install
Initializes and migrates the database (sqlite) to the latest revision available in the project.
bin/rails db:migrate
bin/rails server
Database initialization
How to run the test suite
Services (job queues, cache servers, search engines, etc.)
Deployment instructions
...