💡 LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
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