Enjoy Sharing Technology!

Software,Develope,Devops, Security,TroubleShooting

Tuesday, March 22, 2022

use rvm to install ruby2.7

 

curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -

curl -sSL https://rvm.io/pkuczynski.asc | gpg2 --import -

(gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB)

curl -sSL https://get.rvm.io | bash -s stable

source /etc/profile.d/rvm.sh

rvm list known

rvm install 2.6 

rvm -v 

rvm use 2.7 --default

Share:

Search This Blog

Weekly Pageviews

Translate