From the course: Installing and Running Ruby on Rails 6

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Using the web server on macOS

Using the web server on macOS - Ruby on Rails Tutorial

From the course: Installing and Running Ruby on Rails 6

Start my 1-month free trial

Using the web server on macOS

- [Instructor] I want to spend a few minutes talking about web servers. Ruby on Rails works in conjunction with a web server to serve up files to a browser. The most common choices when you're working in production and putting something online for the world are Apache and NGINX. Those are very big, full-featured robust web servers that are good for handling requests that come in from the internet as a whole. In addition to that, there are a couple of smaller web servers that we should pay attention to. Passenger, Unicorn and Puma. Now these are small lightweight web servers that can be used in conjunction with those other ones, and they often are. But they also can stand on their own as well. They don't offer all of the same robust full features that Apache and NGINX have. The one that I want us to pay the most attention to is the last one there, and that's Puma. The first four of those web servers would require…

Contents