Upgrading ruby version on server (nginx & passenger)

Install new ruby version on server using rvm

rvm install 2.6.3
rvm use 2.6.3

Remove already installed nginx


apt-get --purge remove nginx-*
apt-get install nginx

Fresh install nginx with passenger

rvmsudo passenger-install-nginx-module

🏆

--

--

Senior Engineer @ Rakuten Viki

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store