Tutorial Series

How to Install and Set Up a Local Programming Environment for Ruby

This tutorial series will guide you through installing Ruby on your local machine and setting up a programming environment via the command line. Ruby is a dynamic programming language you can use to create anything from simple scripts to complex web applications.
  • In this tutorial, you'll set up a Ruby programming environment on your local macOS machine using Homebrew—a free and open-source package manager for macOS—and you'll test your environment out by writing a simple Ruby program.
  • This tutorial will go over how to set up a Ruby programming environment on your local Windows 10 machine using the command line. You'll configure Bash on Windows, and then use the Ruby Version Manager—better known as RVM, a software platform built to manage multiple Ruby installations—to install the latest version of Ruby and its prerequisites. Then you'll test your environment out by writing a simple Ruby program.
  • In this tutorial, you'll set up a Ruby programming environment on your local Linux machine via the command line. Then you'll test your environment out by writing a simple Ruby program. This tutorial explicitly covers the installation procedures for Ubuntu 16.04, but the general principles should apply to any Debian-based distribution.