Forum: Ruby on Rails Ruby & SWIG: recommended technique?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E252a566c8abb53bcbfa1e64ebe1b9d4?d=identicon&s=25 Robert Br (robertakit)
on 2006-02-27 23:24
(Received via mailing list)
I compiled a C++ SWIG interface.  It works fine from irb (interactive
Ruby).  But, I'd like to embed this Swig module into a Rails
application.  (I did not write this particular Rails application and
know very little about Rails per-se.)

I know that, to start WEBrick, you say

ruby script/server

I looked at script/server and it does not look like the right place to
stick the "require" line needed for loading the Swig module.

Is there a standard place where initial loading of modules should
happen?  What is the recommended method in this case?

Thanks!
This topic is locked and can not be replied to.