sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Require (include) system libraries

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 264 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      derbbre
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Buy SketchPlus
      Buy SUbD
      Buy WrapR
      Buy eBook
      Buy Modelur
      Buy Vertex Tools
      Buy SketchCuisine
      Buy FormFonts

      Advertisement