[Rubygems-developers] Having dynamic libraries installed in the bin directory without having them put in ruby's search path?

Olivier Boudry olivier.boudry at gmail.com
Sat Mar 24 18:49:00 EDT 2007


Interesting example. My module loading problems occurs when I try to
load sapnwrfc.rb with sapnwrfc.dll somewhere in the path. Maybe Ruby
tries to load so and dll files first? Don't know what are the loading
preferences?

Olivier.

On 3/24/07, Eric Hodel <drbrain at segment7.net> wrote:
> On Mar 20, 2007, at 05:20, Olivier Boudry wrote:
>
> >> Also, how does ruby get away with having zlib.so in a directory
> >> that's not in ENV['PATH']?  Can you use the same trick?
> >
> > zlib.so is in the ruby search path (for searching ruby modules) and
> > zlib1.dll is in the bin directory. At least when installed with the
> > One Click Installer.
>
> Sorry, I meant gdbm.so vs gdbm.dll.
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers
>


More information about the Rubygems-developers mailing list