sketchucation logo sketchucation
    • Login
    1. Home
    2. derbbre
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 1

    Posts

    Recent Best Controversial
    • 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 just

      require '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?

      posted in Developers' Forum
      D
      derbbre
    • 1 / 1