Software Versions and Sample Code

Learn about the software versions, environment, and setup overview of Rails

We'll cover the following

Software versions

Most of the code in this course is executed by a script. This implies that, hopefully, any issues with it were resolved by us before they reached you. If you do encounter problems, the best way to address them is if we are using the same environment.

Those versions are:

  • Ruby 3.1.0, specifically:
ruby --version
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]
  • Ruby on Rails 7.0.1

  • Postgres 13.5

  • Redis 6.2.6

  • Bundler 2.3.5

  • RubyGems 3.1.2

  • Ubuntu 20.04, specifically:

lsb_release  -a

No LSB modules are available.
Distributor ID:   Ubuntu
Description:  Ubuntu 20.04.3 LTS
Release:  20.04
Codename: focal

In Setting Up Docker for Local Development, we walk you through setting up an environment. Try to match versions as much as possible so that if you run into any problems, it will eliminate at least a few sources of errors.

Sample code

Most of the code shown in this course is generated by the source code of the course. At the end of each section, a snapshot is taken of the status of the app being built. You can download the code files directly by clicking the “Download” button given below:

Get hands-on with 1400+ tech skills courses.