🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now
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