Install ruby-rspec by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-rspec
Description:
Behaviour Driven Development framework for Ruby - metapackage
RSpec is a Behaviour Driven Development framework for Ruby. It provides a framework for writing and executing examples of how your Ruby application should behave.
Homepage: http://rspec.info/
Version: 3.7.0c1e0m0s1-1
Section: universe/ruby