From: nobu.nokada@... Date: 2002-09-18T01:55:11+09:00 Subject: Re: FXRuby and exerb.rb? Hi, At Wed, 18 Sep 2002 01:27:53 +0900, Lyle Johnson wrote: > > Anyone know if FXRuby apps can be packed up to a single exe with > > exerb.rb so that they can execute stand-alone (ie without the need for > > cygwin.dll etc)? > > Anyone done this and made it work? Any special steps necessary? > > I don't think it's going to work as-is with the current version of > FXRuby because during the FXRuby module initialization I call the C > function rb_f_require() directly in a few places. Part of the magic of > "exerb" is that he overrides the built-in "require" method to look > elsewhere (in the executable), but since I call rb_f_require() > directly it doesn't take advantage of this hook. Recent exerb has a trick for rb_require(), but none for rb_f_require(). I guess it would be possible. -- Nobu Nakada