From: Luis Lavena Date: 2008-03-29T00:45:04+09:00 Subject: Re: Bootstrapping Ruby with MinGW: selfhosted and test sandbox! On Mar 28, 10:52 am, Michal Suchanek wrote: > On 28/03/2008, Michal Suchanek wrote: > > > On 28/03/2008, Joel VanderWerf wrote: > > > > This is all working very smoothly for me, following the recipe. > > > > I ended up with a ruby/mingw32 installation which my program can use to > > > dynamically compile its parts that are generated C code, and run 20%-50% > > > faster than using msvc6 and oci. This is also far preferable than > > > requiring users to have msvc6 installed if they make changes that > > > require recompilation of the generated C code. > > > > The only slight hiccup was figuring out that I needed to put > > > sandbox/ruby_mingw/bin on my PATH, but that's really pretty obvious. > > > > I hope someone is able to fix readline, though... > > > I have read something about pure ruby readline on this list. There's > > something on RAA but the linked site is down. > > hmm, I found a rreadline-0.5.4.tar.gz on a FreeBSD mirror. > adding the rreadline folder to site_ruby and a writing readline.rb as follows: > > require 'rreadline/RReadline' > > fixes the 100% CPU usage for me, at least in irb. > The CPU usage problem is related to constant pooling. This has been solved in Ruby SVN repository, and is included in the build I created. Anyway, the pure readline (InLine) is not a direct match, but the one you mention could be. I'll take a look to this during the weekend. Regards, -- Luis Lavena