From: Michal Suchanek Date: 2007-05-18T04:44:09+09:00 Subject: Re: [ ruby-Bugs-10303 ] miniruby loads extensions from already installed ruby On 15/05/07, Nobuyoshi Nakada wrote: > Hi, > > At Fri, 27 Apr 2007 02:30:31 +0900, > Michal Suchanek wrote in [ruby-core:11039]: > > As it turns out, ruby and miniruby only differ in the way > > libruby-static is linked in. For miniruby it is linked directly by > > full name, for ruby it is looked up with -l option. > > So linking in another file would not fix the extensions for miniruby > > nor prevent miniruby from loading potetntially broken and incompatible > > extensions that are already installed. I think the object is present > > in libruby anyway. > > Miniruby linked against dmydln.o is prevented from loading > extensions at all. > > Anyway, isn't it solved by clearing default LOAD_PATH? > It looks good, I was able to build and run test. However, the runruby I have is very different so I was not able to apply the changes. It only affects the check target from the parts I usually try. Thanks Michal