Windows Installer for Ruby 1.8.0 (CVS)

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Enjoy!

/\ndy

···


Andrew Hunt, The Pragmatic Programmers, LLC.
Innovative Object-Oriented Software Development and Mentoring for Agile Methods
web: http://www.pragmaticprogrammer.com email: andy@pragmaticprogrammer.com

Author of “The Pragmatic Programmer” * “Programming Ruby” * The Agile Manifesto
Columnist for IEEE Software Magazine * Board of Directors, Agile Alliance
Pragmatic T-shirts available at: www.pragmaticprogrammer.com/merchandise.html

thanks!

···

il Thu, 29 May 2003 06:12:53 +0900, Andrew Hunt andy@pragmaticprogrammer.com ha scritto::

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Cool. Any plans to move this into the sf cvs repository?

Chris
http://clabs.org/blog

Ok, someone told me that using OSS even means showing bugs you found:

···

il Thu, 29 May 2003 06:12:53 +0900, Andrew Hunt andy@pragmaticprogrammer.com ha scritto::

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Enjoy!


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application’s support team for more information.
prova.rb:6: warning: don’t put space before argument parentheses
prova.rb:7: [BUG] Segmentation fault
ruby 1.8.0 (2003-05-26) [i386-mswin32]

the file is:

require ‘fox’
include Fox
application = FXApp.new(“Dialog”, “FoxTest”)
application.create
mw=FXMainWindow.new (application, “Dialog Test”, nil, nil,
DECOR_ALL, 0, 0, 400, 200)
FXDialogBox.new(mw, “Test of Dialog Box”,
DECOR_TITLE|DECOR_BORDER).execute
application.run

running on WinXP Pro /Athlon XP 2000+

Ok, sorry for bothering you :slight_smile:

Andrew Hunt wrote:

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Enjoy!

/\ndy

I’m experiencing a problem with file “ruby180-9.exe”: The install
button is disabled. (Fix at end.)
I’ve downloaded it twice today from two different sourceforge
repositories, and also rebooted. Made no difference. Neither did
picking custom instead of default, nor browsing to the directory that I
wanted to install into.

The install directory choosen is the default.

I’m using Win98 (4.10.2222 A), I have 3.1x GB free, I have 511MB Ram on
a GenuineIntel x86 Family 15 Model 1 stepping 2 CPU. (It’s a Gateway if
that matters, the model isn’t visible anywhere, sorry.)

It doesn’t hang, or anything like that. The install button is just
disabled. Back works fine. So does both Cancel and clicking the window
close box.

FIX:
In order to install I finally tried deleting the folder which the
previous install had created (C:\ruby). Then the install proceeded. It
appears to have come to a normal termination (I haven’t rebooted yet,
since I started this letter before the idea of deleting the old install
folder occurred to me), but everything looks good.

···


– Charles Hixson
Gnu software that is free,
The best is yet to be.

It seems that the installer installs all the documenation even you if
you choose not to install it.

Not a major problem, but a bit of a pain installing it all when you
don’t need it (e.g. on a box that runs scripts but you never actually do
any development on)

In article 1054156369.28454.91.camel@workbench.toolshed.com,
andy@pragmaticprogrammer.com says…

···

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Enjoy!

/\ndy

Oh, I’ve got nothing BUT plans :slight_smile:

Yes, the way the build scripts work, you can start with an empty
directory and they will pull down all of the bits and pieces off of the
net, patch and babysit the ones which don’t build right out of the box
(grrr…) and then jam the whole mess together using the Nullsoft
installer. So my plan is to put the source for the builder up on sf,
and then hand out CVS rights to anyone with more free time than me
(i.e., almost anyone :slight_smile: to help keep it up to date and improve it.

I just need to “tidy a few things up”, as they say, and remove a few
lingering machine/setup dependencies.

It should only take a few hours, so I should be able to get it done
sometime in the next six months :-0

/\ndy

···

On Wed, 2003-05-28 at 19:04, Chris Morris wrote:

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Cool. Any plans to move this into the sf cvs repository?


Andrew Hunt, The Pragmatic Programmers, LLC.
Innovative Object-Oriented Software Development and Mentoring for Agile Methods
web: http://www.pragmaticprogrammer.com email: andy@pragmaticprogrammer.com

Author of “The Pragmatic Programmer” * “Programming Ruby” * The Agile Manifesto
Columnist for IEEE Software Magazine * Board of Directors, Agile Alliance
Pragmatic T-shirts available at: www.pragmaticprogrammer.com/merchandise.html


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application’s support team for more information.
prova.rb:6: warning: don’t put space before argument parentheses
prova.rb:7: [BUG] Segmentation fault
ruby 1.8.0 (2003-05-26) [i386-mswin32]

the file is:

require ‘fox’
include Fox
application = FXApp.new(“Dialog”, “FoxTest”)
application.create
mw=FXMainWindow.new (application, “Dialog Test”, nil, nil,
DECOR_ALL, 0, 0, 400, 200)
FXDialogBox.new(mw, “Test of Dialog Box”,
DECOR_TITLE|DECOR_BORDER).execute
application.run

Hmm… my knowledge of Fox isn’t that deep… but
perhaps you have to do app.run before you do the .execute?

Hal

···

----- Original Message -----
From: “gabriele renzi” surrender_it@rc1.vip.lng.yahoo.com
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Thursday, May 29, 2003 2:22 PM
Subject: Re: Windows Installer for Ruby 1.8.0 (CVS)

gabriele renzi wrote:

Ok, someone told me that using OSS even means showing bugs you found:


This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application’s support team for more information.
prova.rb:6: warning: don’t put space before argument parentheses
prova.rb:7: [BUG] Segmentation fault
ruby 1.8.0 (2003-05-26) [i386-mswin32]

Running on Linux provides a (slightly) more informative error message:

 FXRbDialogBox::create:
   trying to create window before creating owner window.

The problem is that the main window (the “owner” of the dialog box) has
not been created (realized) at the time that you try to create the
dialog box. If you rearrange your program a little bit so that the main
window has been created first:

 require 'fox'

 include Fox

 application = FXApp.new("Dialog", "FoxTest")
 mw = FXMainWindow.new(application, "Dialog Test", nil, nil,
     DECOR_ALL, 0, 0, 400, 200)
 application.create
 FXDialogBox.new(mw, "Test of Dialog Box",
     DECOR_TITLE|DECOR_BORDER).execute
 application.run

You will at least see the dialog box. Still not a very interesting
program, of course :wink:

I think you will have better luck if you start by running the example
programs and trying to understand how they work before just assembling
random programs to see what happens.

Good luck,

Lyle

That’s because it will not allow you to install into an existing
directory, that’s all. Pick a new directory name and all will be
well…

/\ndy

···

On Thu, 2003-05-29 at 17:40, Charles Hixson wrote:

I’m experiencing a problem with file “ruby180-9.exe”: The install
button is disabled.

Also, ruby --version gives:
ruby 1.8.0 (2003-05-26) [i386-mswin32]

Where as 1.6.8 gave:
ruby 1.6.8 (2002-12-24) [i586-mswin32]

i.e. its now i386 code as opposed to i585 code. Could this cause
(slight) performance issues?

In article MPG.1941932f404f2137989683@news.datastream.com,
NOSPAMcs96and@yahoo.co.ukNOSPAM says…

···

It seems that the installer installs all the documenation even you if
you choose not to install it.

Not a major problem, but a bit of a pain installing it all when you
don’t need it (e.g. on a box that runs scripts but you never actually do
any development on)

In article 1054156369.28454.91.camel@workbench.toolshed.com,
andy@pragmaticprogrammer.com says…

Hi all,

I finally managed to scrape together a few spare minutes and put up the
latest CVS snapshot of Ruby 1.8 packaged in the Windows Installer
version, available on rubyinstaller.sourceforge.net.

Enjoy!

/\ndy

Oops. That sounds like a wee bug. I’ll take a look.

/\ndy

···

On Fri, 2003-05-30 at 12:32, Alan Davies wrote:

It seems that the installer installs all the documenation even you if
you choose not to install it.

So, I guess Agile Methods have nothing to do with time management. :slight_smile:
(Sorry, I couldn’t resist.)

···

On Thursday, 29 May 2003 at 10:01:07 +0900, Andrew Hunt wrote:

On Wed, 2003-05-28 at 19:04, Chris Morris wrote:

Cool. Any plans to move this into the sf cvs repository?

Oh, I’ve got nothing BUT plans :slight_smile:

It should only take a few hours, so I should be able to get it done
sometime in the next six months :-0

Innovative Object-Oriented Software Development and Mentoring for Agile Methods
Author of “The Pragmatic Programmer” * “Programming Ruby” * The Agile Manifesto
Columnist for IEEE Software Magazine * Board of Directors, Agile Alliance


Jim Freeze

A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.

Hey, I just compile it using the provided makefile. Could someone
in-the-know elucidate?

/\ndy

···

On Fri, 2003-05-30 at 12:33, Alan Davies wrote:

Also, ruby --version gives:
ruby 1.8.0 (2003-05-26) [i386-mswin32]

Where as 1.6.8 gave:
ruby 1.6.8 (2002-12-24) [i586-mswin32]

i.e. its now i386 code as opposed to i585 code. Could this cause
(slight) performance issues?

:slight_smile:

If they do, then I missed the boat on that particular topic! I’ll be the
first to admit that time managment is not one one of my core
competencies :slight_smile:

It’s really just a matter of too many interests and too few hours in the
day…

Now if you’ll excuse me, I have to go put another coat of stain on an
oak CD rack I’m building, read the last of “Sea View Secret” to my son,
practice a little on the horn, finish writing a new piece on the piano,
write another chapter of what might become a book, discover the cure for
cancer and implement world peace :slight_smile: :slight_smile:

/\ndy

···

On Wed, 2003-05-28 at 21:06, Jim Freeze wrote:

On Thursday, 29 May 2003 at 10:01:07 +0900, Andrew Hunt wrote:

So, I guess Agile Methods have nothing to do with time management. :slight_smile:
(Sorry, I couldn’t resist.)

Thanks!

If anyone is interested, I posted some side-by-side benchmarks of 1.6.8
vs 1.8.0 on my Win2k box at home. You’ll note the considerable
improvement in IO read operations.

As per the suggestion of some folks on IRC, I ran them a few times to
make sure disk caching didn’t play a part in the results.

http://ruby-miscutils.sourceforge.net/compare_author_berger-2.html

Regards,

Dan