Ruby Gems is much better than NPM, for E2E Testing. You took my example wrong way, for new starter, "gem install rspec selenium-webdriver" is enough. In my other articles, e.g., I mention test data library Faker, then just run "gem install faker". Yes, it is that simple. I have been maintaining two 500+ Selenium test suites (for my two own apps alone, don't count client projects) for over 10 years, of course, I used a few more dependent libraries in my test scripts.
I taught my daughter with Selenium WebDriver + RSpec, that means something, right?