@neino said:
EDIT: After install Ruby in C:\Programs\Ruby192 the error is still the same. What Should I change/do to use sockets library under Sketchup?
Sketchup cannot use Ruby in the 1.9.x trunk.
You should install a branch of Ruby in the 1.8.x trunk, and recommend the same version and patch level that matches the interpreter DLL distro'd with Sketchup 8:
****Ruby Binary Installer(s):
Ruby (v1.8.6-p287) Windows One-Click Installer
Other posts on the sockets issue:
Interest in a Networking Sockets Workaround
Clients <--> Server Communication (Sockets?)
Requiring Socket on Mac crashes SU