Friday, December 6, 2024
HomeRuby On RailsUbuntu Desktop | Drifting Ruby

Ubuntu Desktop | Drifting Ruby


# Terminal
sudo apt replace
sudo apt improve

sudo apt set up -y gnupg2 curl git
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

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

supply /residence/$(whoami)/.rvm/scripts/rvm

echo 'gem: --no-document' >> ~/.gemrc
echo '--javascript esbuild' >> ~/.railsrc
echo '--css bootstrap' >> ~/.railsrc

rvm set up 3.1.2
gem replace --system
gem set up rails

curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
sudo nodesource_setup.sh

sudo apt set up -y nodejs

sudo npm -g i yarn

# x86/amd64
wget https://code.visualstudio.com/sha/obtain?construct=secure&os=linux-deb-x64
sudo dpkg -i code_1.70.0-1659589288_amd64.deb

# arm64
wget https://code.visualstudio.com/sha/obtain?construct=secure&os=linux-deb-arm64
sudo dpkg -i code_1.70.0-1659587966_arm64

# Docker Set up
sudo apt set up apt-transport-https ca-certificates software-properties-common
curl -fsSL https://obtain.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://obtain.docker.com/linux/ubuntu $(lsb_release -cs) secure" | sudo tee /and many others/apt/sources.record.d/docker.record > /dev/null
sudo apt replace
sudo apt set up docker-ce
sudo usermod -aG docker ${USER}
su - ${USER}
docker run hello-world
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments