Skip to content

Instantly share code, notes, and snippets.

@makevoid
Last active May 18, 2019 10:03
Show Gist options
  • Select an option

  • Save makevoid/05824727e45adde87672ae9787524433 to your computer and use it in GitHub Desktop.

Select an option

Save makevoid/05824727e45adde87672ae9787524433 to your computer and use it in GitHub Desktop.
Install ruby 2.6 on ubuntu via PPA (brightbox)
# example usage:
# bash <(curl -s https://gist.githubusercontent.com/makevoid/05824727e45adde87672ae9787524433/raw/5c53711d582c849f8a1f9c33675a78ab34878dee/install-ruby-2.5-ubuntu.sh)
set -xe
apt-add-repository ppa:brightbox/ruby-ng
apt update -y
apt install -y ruby2.6 ruby2.6-dev
gem i bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment