From: "Aleksi Niemelä" Date: 2000-07-15T14:32:23+02:00 Subject: [ruby-talk:04034] Re: Ruby and Interbase on Windows Jilani: > > why this code doesn't work? > > The errore is: "No such file to load -- interbase " > > Windows 2000 Prof. platform, Ruby 1.4.5 for Windows, and > "interbase.dll" > > in c:\ruby > > #===================================================== > > require 'interbase' Michael: > Put "interbase.dll" in the C:\ruby\lib directory! Or perhaps you could change RUBYLIB environment variable to include the path where interbase.dll is located. Therefore on new installs you don't have to remember to copy each time. Alternatively (TIMTOWTDI :) you could add $LOAD_PATH << 'c:\path\to\interbase\dll' somewhere in your code to be executed before first "require 'interbase'" is executed. - Aleksi