how to install rspec code example Example: installing rspec gemfile source 'https://rubygems.org' gem 'rspec' #inside the Gemfile