19 lines
543 B
Markdown
19 lines
543 B
Markdown
|
#### 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
|