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

    Version of Ruby

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 173 Views 2 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.
    • yorik1984Y Offline
      yorik1984
      last edited by

      What version of Ruby use in SU API?
      1.8.6-p287?

      @unknownuser said:

      SketchUp 8
      Released 9/1/2010

      We upgraded our API's Ruby interpreter from version 1.8.0 to 1.8.6, which is a better supported, more stable version. This gives API users the benefits of hundreds of Ruby bug fixes, but version 1.8.6 is also more strict on Ruby syntax. If a script is broken, you may need to contact the script's original author to get an upgraded version.

      1 Reply Last reply Reply Quote 0
      • Dan RathbunD Offline
        Dan Rathbun
        last edited by

        Yes on PC (but not on Mac)

        Open the Ruby Console, and type RUBY_VERSION

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • yorik1984Y Offline
          yorik1984
          last edited by

          Can I use 1.8.6-p420?
          And more. The latest stable version is 2.0.0. Rails(framework) used ruby 1.9.3.
          I beginner of ruby, and I want to study modern language.
          I'm confused.
          "To learn or no to learn. That is the question".

          1 Reply Last reply Reply Quote 0
          • Dan RathbunD Offline
            Dan Rathbun
            last edited by

            @yorik1984 said:

            Can I use 1.8.6-p420?

            See: Ruby Interpreter DLLs (Win32)

            @yorik1984 said:

            And more. The latest stable version is 2.0.0. Rails(framework) used ruby 1.9.3.

            NO. SketchUp 8 and lower, cannot load Ruby 1.9.x and higher.
            Currently you must stay in the Ruby 1.8.x trunk.

            I'm not here much anymore.

            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