What you need for this book

You'll need two basic pieces of software for this book: Ruby and RSpec.

You can install the Ruby programming language from its web site:

https://www.ruby-lang.org/en/downloads/

The latest version at the time of writing is 2.3.0. Any version of Ruby greater than 2.0 should be fine.

I recommend that you use rbenv to install Ruby. This tool will make it easier to keep a clean Ruby environment. Professional Ruby developers rely on rbenv or similar tools to install and manage Ruby on their systems. You can find more info on rbenv on its GitHub page:

https://github.com/rbenv/rbenv

You can install RSpec using the rubygems installer (gem install rspec). The latest version of RSpec at the time of writing is 3.4.0, but any version ...

Get RSpec Essentials 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.