From: James Byrne Date: 2010-09-03T23:16:02+09:00 Subject: Re: 1.9 require problem James Byrne wrote: > > > OK. This is not good. If I try to use require_relative I discover that > backtracks in the directory tree are ignored. For instance, given this > code: > Now I discover something even worse. If I change the the lib_path by adding an additional /.. then the thing works. That I do not understand. $ bin/forex bin/../../lib/forex/hll_forex_ca_feed Library file found? false $ If this is intended behaviour then I do not understand why the additional /.. is necessary. As it stands, if this is intended, then it means that writing code to work with 1.8 and 1.9 ruby that uses require_relative will need different relative paths to the same file. -- Posted via http://www.ruby-forum.com/.