From: Ayhan Molla Date: 2007-10-20T19:02:36+09:00 Subject: require with absolute path --0-1089262965-1192874157=:49833 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am trying to require the xml builder library using the require statement as follows: require 'C:/builder-2.1.2/lib/builder.rb' builder.rb in turn has two requires inside using relative paths: require 'builder/xmlmarkup' require 'builder/xmlevents' Althougn those files exists in the builder directory, ruby complains and give this error: require': no such file to load -- builder/xmlmarkup (LoadError) This is strange since $: variable has "." evertime it loads a file, so it should find the files in "builder" folder. What is the correct way to load the files in that case? put everything under ruby lib folder so that they are in $: ? Regards __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1089262965-1192874157=:49833--