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

    Solved: how to get the ruby version?

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 1 Posters 748 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.
    • A Offline
      abakobo
      last edited by abakobo

      Hi

      I've been trying "ruby -v" in console but doesn't work (on SU2013 at least)
      I can get the Sketchup version with Sketchup.version and .version_number but then I would have to know wich build use wich ruby...
      I remember I could get that info in SU ruby console one time but I can't find it by googling! I just find "ruby -v".

      thx

      ako

      1 Reply Last reply Reply Quote 0
      • A Offline
        abakobo
        last edited by

        Found it...

        it's the RUBY_VERSION const!

        cheers

        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