© Greg Donald 2024
G. DonaldHands-on Test-Driven Developmenthttps://doi.org/10.1007/978-1-4842-9748-3_4

4. Getting Started with Ruby on Rails

Greg Donald1  
(1)
Clarksville, TN, USA
 
In the previous chapter, we installed the Ruby language itself. In this chapter, we will install the Ruby on Rails1 framework and some additional tools Ruby software engineers use for Ruby on Rails application development:
  1. 1.

    Bundler

     
  2. 2.

    Ruby on Rails

     
  3. 3.

    PostgreSQL

     

Installing Bundler

Bundler2 is a package manager that manages the dependencies of a Ruby application. Our project will use Bundler to manage the dependencies of our Ruby on Rails application specifically. Bundler is a Ruby gem, so we will use the Ruby gem3 command to install it:

A screenshot has a snippet ...

Get Hands-on Test-Driven Development: Using Ruby, Ruby on Rails, and RSpec 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.