From: James Byrne Date: 2010-09-03T05:32:39+09:00 Subject: Re: 1.9 require problem James Byrne wrote: > As of this morning I am just starting to work with Ruby 1.9. I note > that there seems to be some behaviour change between 1.8 and 1.9 with > respect to require. . . . > > If anyone here can tell me what I need to change to get this to work > under Ruby 1.9 AND Ruby 1.8 I would be most obliged, I discover that if I do this: require File.expand_path( File.dirname(__FILE__) + '/../lib/deploy/pg_access_setup') Then the problem is resolved. However, I do not understand why this is now necessary or what benefit accrues from introducing this change in behaviour between 1.8 and 1.9. -- Posted via http://www.ruby-forum.com/.