Hi, if you want the scraper to work.
Just install 3 gems:
gem install nokogiri #for HTML parsing
gem install httparty #to get HTML data of the website
gem install byebug #to debug and know how it works just put byebug at beginning of code execution chain
Cheers!