scrubyt rubyinline error on install

I was getting the following error after doing sudo gem install scrubyt and trying to run a scrubyt script

can't activate RubyInline (= 3.6.3), already activated RubyInline-3.7.0] (Gem::Exception)

I found this solution for how to fix the Scrubyt RubyInline version error, and it worked great.

sudo gem uninstall RubyInline -v 3.7.0

Comments