Initial Setup Requirements / START HERE

You’ll want:
  • Ruby: 2.6.3
  • Postgres
  • Git & set it up with your information
  • Redis installed and running (for this I recommend using Homebrew services)

Getting set up with Ruby on a new computer can seem pretty daunting at first. Luckily, I have a great resource that I use to set up my new computers. The handy guide over on GoRails will walk you through setting up your computer for development. Once you finish that, come back and we’ll get into the meat of it.

NOTE: You can skip the MySQL installation, but make sure you install Postgres. We’ll be using Postgres for our database in this course.

Why are you not covering it here?
The simplest reason is, every time a new operating system version or Rails/Ruby version comes out, I’d need to come back and update the guide here. I know Chris Oliver who runs GoRails and he keeps the guide updated quickly. Plus he put a lot of time into ensuring most operating systems (like Ubuntu) are covered. If you need help with getting set up, drop me a line and I’ll help you out. 

We can verify things are set up correctly by running:

ruby -v
You should get something back like: 
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-darwin18]
Next, let’s check the Rails version.
rails -v
Should return Rails 6.0.0rc1 or higher.

Lastly, let's check Postgres is installed.
postgres --version

As long as this returns a version higher than 9.6 you should be good to go. The latest versions on Homebrew ship with Postgres 10 or higher.

Need the link to the guide again? It's here

Learn Rails by Building Instagram

Want to learn the basics of the Ruby on Rails framework? In this course, we will build Railsgram, which is a simplified version of Instagram. We will go from rails new all the way to deploying to production. Get it today and kickstart your Ruby on Rails journey.

Already enrolled?
Sign in to continue learning.