Please see https://www.fngtps.com/2018/rails-development-environment/ for a more recent version of this guide.