Bootstrapping Ruby with MinGW: selfhosted and test sandbox!

On Mar 28, 10:52 am, Michal S. [email protected] wrote:

require recompilation of the generated C code.
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,

On 28/03/2008, Joel VanderWerf [email protected] wrote:

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.

Thanks

Michal

The readline that comes with installer3.zip works fine for me in irb,
it’s just the test that hangs. Is that what others are seeing? Maybe
this is a naive question, but could the test be implemented in a
different manner? It seems to me that this is more of an IO
redirection problem than a readline problem.

I certainly don’t have any solutions, I’m just trying to understand the
problem.

Thanks

Gordon

On Mar 28, 2:52 pm, Gordon T. [email protected] wrote:

The readline that comes with installer3.zip works fine for me in irb,
it’s just the test that hangs. Is that what others are seeing? Maybe
this is a naive question, but could the test be implemented in a
different manner? It seems to me that this is more of an IO
redirection problem than a readline problem.

Is the IO redirection with readline, nothing more, nothing less.

The issue is that tests cannot run successfully until that issue get
fixed.

SO I cannot add MinGW build of Ruby to our CI…

I certainly don’t have any solutions, I’m just trying to understand the problem.

Don’t worry, I still don’t understand i neihter :stuck_out_tongue:

Regards,

Luis L. wrote:

Hello List,

I’m happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
Windows!

Just in one evening I’ve been able to get everything installed and built
and use the resulting version of Ruby to build RMagick. Very nice!

I had to scratch my head a bit before I figured out what changes I
needed to make to my PATH but other than that everything went very
smoothly.

This says good things about…well…everything, actually. Good work,
Luis, and thanks! I’m looking forward to being able to rely on this
environment for Ruby on Windows.

On Apr 4, 12:43 am, Tim H. [email protected] wrote:

Luis L. wrote:

Hello List,

I’m happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
Windows!

Just in one evening I’ve been able to get everything installed and built
and use the resulting version of Ruby to build RMagick. Very nice!

Wow, thats excellent news! Is great to know that RMagick works on
this!

I had to scratch my head a bit before I figured out what changes I
needed to make to my PATH but other than that everything went very smoothly.

Hehehe, yeah, it still lacks a bit of cough documentation cough :-
P

These recipes will be used to create One-Click Ruby Installer and also
the Developer Kit I commented in my blog [1]

The idea is those gem developers or users that requires compilation in
any sort, can download and get a developement compiler more faster
than figure out MinGW setup and all that pain :stuck_out_tongue:

This says good things about…well…everything, actually. Good work,
Luis, and thanks! I’m looking forward to being able to rely on this
environment for Ruby on Windows.

Thank you!, I’m looking forward for this too!

Next step involves the creation of Windows Installers to be a real
“one-click” installation solution :wink:

[1]
http://blog.mmediasys.com/2008/03/29/progress-of-one-click-installer-rubyinstaller

Thank you for your time, kind words and perseverance!

Hey Luis,

I’ve been working on trying to do a MinGW environment, so that I can
work on a MinGW Compile of wxRuby for Windows. The only thing I have
to say, is congrats, and you have made my day! The sandbox
development environment that you setup with the rakefiles, is exactly
what I needed, so desperately. Thank you so much for this, I’m
running the rake for installer3, to get everything I need setup. I
seriously recommend that you setup a OCI just for the Development
Environment itself! MinGW and MSys has unfortunatly come up short for
me on many occasions on trying to get a full compiler environment
setup on Windows, that I’m use to on Linux, through their installers,
and setups. If things work the way that I believe they are going to,
this is going to make my day!

Keep up the good work, (Especially for us developers who are less then
familiar with trying to get Ruby going, let alone work on our own
Extensions! LOL)

L8ers,


Mario S.
wxRuby Senior Developer
Website: http://wxruby.rubyforge.org/wiki/wiki.pl
Rubyforge: http://rubyforge.org/projects/wxruby

wxRIDE Creator / Senior Developer
Website: http://wxride.trilake.net
Rubyforge: http://rubyforge.org/projects/wxride

I couldn’t agree more. Thanks for all your efforts Luis!!

–andy

<The fact is, actually getting a performant stable interpreter on the
platform would probably do more for the language than any other single
action. Of course OCI download numbers from rubyforge can easily
attest to this.>

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.
downloading r15977 seems to still have the 100% readline problem. Is
there a better version to use?
-R

On Mar 28, 4:02 pm, [email protected] wrote:

Hey Luis,

I’ve been working on trying to do a MinGW environment, so that I can
work on a MinGW Compile of wxRuby for Windows. The only thing I have
to say, is congrats, and you have made my day! The sandbox
development environment that you setup with the rakefiles, is exactly
what I needed, so desperately. Thank you so much for this, I’m
running the rake for installer3, to get everything I need setup. I
seriously recommend that you setup a OCI just for the Development
Environment itself!

Another great news!, wow, now three major extensions/gems that works
with MinGW build!

wxRuby, RMagick and Ruby-GNOME (comment on my blog [1])

This is excellent!

MinGW and MSys has unfortunatly come up short for
me on many occasions on trying to get a full compiler environment
setup on Windows, that I’m use to on Linux, through their installers,
and setups. If things work the way that I believe they are going to,
this is going to make my day!

Yeah, getting a MinGW environment is a real pain. I tried create it
manually several times that got tired and wrote the first rake tasks
to do it for me :wink:

Keep up the good work, (Especially for us developers who are less then
familiar with trying to get Ruby going, let alone work on our own
Extensions! LOL)

Hehehe, I will :smiley:

L8ers,


Mario S.

[1]
http://blog.mmediasys.com/2008/03/29/progress-of-one-click-installer-rubyinstaller/

Regards,

I saw a post saying an rmagick mingw gem was available. Any word on how
we can get it, or how to compile it?
Thanks.
-R

/me hopes for mini-tutorial :slight_smile:

Luis L. wrote:

Hello List,

I’m happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
Windows!

I saw a post saying an rmagick mingw gem was available. Any word on how
we can get it, or how to compile it?
Thanks.
-R

On May 9, 12:14 am, Roger P. [email protected] wrote:

Luis L. wrote:

Hello List,

I’m happy to announce that huge progress (hack-a-ton) was made this
weekend to bring a new implementation of One-Click Installer for
Windows!

I saw a post saying an rmagick mingw gem was available. Any word on how
we can get it, or how to compile it?

Dunno if a gem is available, only they succeed building with it with
MinGW.

You can ask them for pointer at their forum:

http://rubyforge.org/forum/?group_id=12

Regards,