From: "Andy P." Date: 2012-08-15T02:54:40+09:00 Subject: Re: Creating a C extension in Ruby So the extension is running. If I type require 'C:\~~~~~\mytest' in IRB then include MyTest and then type puts test1 it returns 10 (like it is supposed to). The end goal is to have this working in SketchUp, and it seems to glitch when I try to call the .so file outside of IRB. This is the call in the IRB interface (the names have changed but they are still representative of the same thing) irb(main):001:0> require 'C:\Program Files (x86)\Google\Google SketchUp 8\Plugins\manet' => true irb(main):002:0> include Thoreau => Object irb(main):003:0> puts waldenpond 10 => nil irb(main):004:0> Now, if I write a short ruby file and place it in sketchup, like require 'manet' It crashes. I think it might have something to do with the .so versus the .dll file? any help would be nice. -- Posted via http://www.ruby-forum.com/.