Installing on Linux

Linux has many different distributions, each having its own method of installing software, along with various idiosyncracies around how it behaves. It would be too difficult to cover them all, so in this section, we’ll outline how to get a Rails environment running in a virtual machine running Ubuntu Linux. Most of the software we’ll install would be needed on any Linux distribution, so if you aren’t using Ubuntu, hopefully this will help you know what you need to set up.

Also note that if you’re using Ubuntu but not a virtual machine, some of the behavior might be different, especially if your machine already has some packages installed on it.

With that disclaimer out of the way, our setup will require a few different ...

Get Agile Web Development with Rails 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.