Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
Require (include) system libraries
-
Hi all.
We are working on a plugin (on Mac, specifically) that uses the Ruby "Socket" library. In a typical Ruby install we could justrequire 'socket'However, that doesn't seem to work within SketchUp. This makes life more difficult, as we would need to include a different file ('socket.bundle' for Mac) depending upon platform (Intel vs. PPC, 10.4 vs. 10.5).
Is there a way to get SketchUp's Ruby to require "system wide" libraries such as this?
Advertisement