Ruby console plug in problem

So if it still happens after reinstalling SketchUp and extensions, maybe reinstalling just is not the way to solve this problem?
Did you ever manually change anything in the folder %Appdata%/roaming/SketchUp/SketchUp 2017/SketchUp/Plugins, and when you reinstalled, you installed through Extension Warehouse?
Have you thought about checking whether this problem was solved after reinstalling SketchUp but before adding any plugin or script (ensuring there is nothing left in the plugins folder)? Only when the empty installation is without issues, add the plugins one by one back.

Besides that, the error message clearly says it occured in tt_vertex and DBUR_ScenesTool (?) and you should contact the author (Thomthom). Although I suspect another script redefined something in Ruby core.