From: David Lee Date: 2009-03-27T16:53:49+09:00 Subject: How to correctly require my own DLL in ruby 1.9.1? I made a example.dll by using SWIG with Visual C++ Express 2008 Edition base on the ruby 1.9.1 p0 binary downloaded from Ruby website. However, when I run require 'example' in my ruby codes, it always complain following messages. C:\Documents and Settings\davidlee\My Documents\Visual Studio 2008\Projects\test\Release>ruby test1.rb test1.rb:1:in `require': no such file to load -- example (LoadError) from test1.rb:1:in `
' I am sure my example.dll was already under the current working directory. Who can help me on this issue? Thanks. -- Posted via http://www.ruby-forum.com/.