Skip to content

Instantly share code, notes, and snippets.

@coliver
Created July 8, 2021 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coliver/c62015fef41866f137623f15c75514e5 to your computer and use it in GitHub Desktop.
Save coliver/c62015fef41866f137623f15c75514e5 to your computer and use it in GitHub Desktop.
Ubuntu 20.04 Ruby Development Setup

Ubuntu 20.04 Ruby Development Setup

Install chrome

download chrome .deb file from https://www.google.com/chrome/

sudo dpkg -i /tmp/mozilla_rubydev0/google-chrome-stable_current_amd64.deb

Install chromedriver

https://chromedriver.chromium.org/home

sudo mv ~/Downloads/chromedriver /usr/bin/

Install git

sudo apt-get install git

Configure Git

git config --global user.name "Your Name"
git config --global user.email "your@email.com"
git config --global core.editor nano
git config --global color.ui true

Install curl

sudo apt-get install curl

Install RVM (Ruby)

command curl -sSL https://rvm.io/mpapis.asc | gpg --import - \curl -sSL https://get.rvm.io | bash -s stable

Install Ruby 2.7.3

rvm install 2.7.3 --default

Install NVM (node)

See https://github.com/nvm-sh/nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

Install latest node

nvm install node

Install yarn (globally)

npm install -g yarn

Install Atom

sudo snap install atom --classic

Install VSCode

https://code.visualstudio.com/Download

sudo dpkg -i /tmp/mozilla_rubydev0/code_1.58.0-1625728071_amd64.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment