Installing Yarn and ChromeDriver for Rails

In addition to my previous post on installing Rails in Ubuntu, here are the instructions to install Yarn and ChromeDriver: curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add – echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt update sudo apt install yarn chromium-chromedriver sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/local/bin