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