Confused about using gems...
-
I'm trying to use some RubyGems. I have Ruby191 and Ruby192 installed, but not 186, which is my RUBY_VERSION as given by SketchUp...
I am looking at the script in this thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=29412
Must I install version 1.8.6 of Ruby (or, generally, a version matching SketchUp's reported Ruby version) to use gems etc? I've read around the forum that I shouldn't mix Ruby versions with what SketchUp uses.
-
Well, I ended up just copying the gem scripts I needed into my plugin folder (it was Builder fyi)... but it's really not ideal for when people already have an existing Ruby installation, and I don't think it will even work if the gem is more complex (I suppose it could be using a C library, or a dll, which is harder for me to copy around, or have too many dependencies to realistically copy all of them into my plugin).
Why is SketchUp reporting version 1.8.6 for me, when I don't technically have that version installed? Is it just the interpreter that SketchUp is using? Why doesn't it use the interpreter from my installed version?
Maybe Dan Rathbun has some advice for me here?
-
SketchUp runs its own version of Ruby. That is why it is reporting 1.8.6.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement