pastebinner/NOTES.md

19 lines
543 B
Markdown
Raw Normal View History

2022-01-27 03:41:43 +00:00
#### DEPLOYING TO SERVER
# I USED OVH VPS WITH ARCHLINUX
# run as sudo user
# step 1: get rbenv dependencies & other useful programs
sudo pacman -S --needed base-devel libffi libyaml openssl zlib go wget curl vim
# step 2: install aur helper
wget https://aur.archlinux.org/cgit/aur.git/snapshot/yay.tar.gz && tar xzvf yay.tar.gz
pacman -S ca-certificates-utils
cd yay && makepkg -Acs
sudo pacman -U pacman -S ca-certificates-utils
# get rbenv and ruby-build
yay -S rbenv
yay -S ruby-build
# install a version of ruby
rbenv install 2.6.0