Install Ruby on Ubuntu

  1. Install gpg2 and curl
    sudo apt-get install gnupg2 curl


    sudo apt install gnupg2 curl
  2. Follow directions in this article but use the latest gpg2 key from These instructions still work for Ubuntu 19.10
  3. Verify you have ruby installed:
    which ruby

    If you get an error…

    /bin/bash --login
    which ruby
  4. Install yarn following these instructions
  5. Then install webpacker
    rails webpacker:install