From: Tobias Reif Date: 2001-10-30T09:17:20+09:00 Subject: [ruby-talk:23785] Re: require NQXML Dave Thomas wrote: >>then the NQXML programs still require 'nqxml/parser' etc. >> > You could always -I nqxml1.1/nqxml > >>How can I be sure that they don't fetch files that are in Rubys' path in >>a directory nqxml, which are older or newer than nqxml1.1/nqxml? >> > -I puts the path at the front of $:, as does $:.unshift 'nqxml1.1' How would that look like? --- $:.unshift 'nqxml1.1.1' require 'nqxml1.1.1/nqxml/treeparser' --- ? And this (written in my program) would ensure that when the NQXML programs require like 'nqxml/parser', they would for sure get nqxml1.1.1/nqxml/parser etc.? Thanks, Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.xhtml go_to('www.ruby-lang.org').get(ruby).play.create.have_fun http://www.pinkjuice.com/ruby/