Installing Ruby on Rails on Debian 11

This guide describes how to install Ruby on Rails on Debian 11.
We will do everything through the console in a few steps.

First, we install the necessary packages:

We add the key to the system:

We download the RVM script

We link in the system:

We can check the RVM version by issuing the command:

the result of the:

We update rvm to the latest version by issuing a command:

We give permission

We install Ruby:

We set the default version:

Installation of Nodejs and Yarn

We install the necessary packages:

We download the script:

We add a Yarn repo to the system:

We install nodejs and yarn:

We are updating Gem packages:

The last step is to install rails with the command:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.