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:
apt-get install gnupg2 curl wget -y
We add the key to the system:
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -
We download the RVM script
curl -sSL https://get.rvm.io | bash -s stable --ruby
We link in the system:
source /usr/local/rvm/scripts/rvm
We can check the RVM version by issuing the command:
rvm version
the result of the:
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
We update rvm to the latest version by issuing a command:
rvm get stable --autolibs=enable
We give permission
usermod -a -G rvm root
We install Ruby:
rvm install ruby-3.0.2
We set the default version:
rvm --default use ruby-3.0.2
Installation of Nodejs and Yarn
We install the necessary packages:
apt-get install gcc g++ make -y
We download the script:
curl -sL https://deb.nodesource.com/setup_14.x | bash -
We add a Yarn repo to the system:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
We install nodejs and yarn:
apt-get update
apt-get install nodejs yarn -y
We are updating Gem packages:
gem update --system
The last step is to install rails with the command:
gem install rails -v 6.1.4
The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń…
Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji…
Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w…
You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania…
Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.…
The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy…