Ruby Installation

Hi,

I am trying to install ruby on my XP machine, but I get the error
which says
“The installer you are trying to use is corrupted or incomplete”, use /
NCRC switch . I tried doing that( ruby186-27_rc1.exe /NCRC ) but still
I get the same error.

But the same software I was able to install on another PC, can
somebody help me regarding this.

hyderabadblues wrote:

I am trying to install ruby on my XP machine, but I get the error
which says
“The installer you are trying to use is corrupted or incomplete”

Then almost certainly the file is corrupted or incomplete, just as it
says.

If you downloaded it via FTP, did you remember to use binary mode? If
you downloaded it via HTTP, did you right-click to save to a file?

To be sure, get a cryptographic hash (e.g. sha1 or md5) from the file on
this machine, and compare it to the hash of the file on the other
machine. If the hashes are different, the two files are definitely
different. Also, many download sites publish the sha1 or md5 of the file
you’re downloading, so you can compare to that too.

I don’t use Windows so I don’t know what utility you’d need to install
to get an sha1 or md5, but I’m sure there must be plenty around.

corrupted or incomplete", use / NCRC switch . I tried doing
that( ruby186-27_rc1.exe /NCRC ) but still I get the same error.

But the same software I was able to install on another PC,
can somebody help me regarding this.

If it is possible, could you download the package itself once again?
Seems like there is a Cyclic Redundancy Check failure, so the software
(correctly) thinks that the package is corrupt. Probably got corrupt
while downloading.

Also ran a Scandisk kind of utility on your hard-disk to ensure that the
hard-disk is not flaky.

On Nov 7, 1:49 pm, Brian C. [email protected] wrote:

To be sure, get a cryptographic hash (e.g. sha1 or md5) from the file on
this machine, and compare it to the hash of the file on the other
machine. If the hashes are different, the two files are definitely
different. Also, many download sites publish the sha1 or md5 of the file
you’re downloading, so you can compare to that too.

I don’t use Windows so I don’t know what utility you’d need to install
to get an sha1 or md5, but I’m sure there must be plenty around.

Posted viahttp://www.ruby-forum.com/.

I haved tested for checksum using md5 utility available in Cygwin, md5
of the ruby sw given in the website and downloaded version is
different, may be that is the reason for failure. But the problem is I
have downloaded it 5 times till now , I still face the same problem,
may be there is some problem with my harddisk. But everything else I
have downloaded works fine…

hyderabadblues wrote:

This visual tutorial might be of interest to you.

Though, it does sound like you have a corrupted file or bad download.
You could try downloading it again, downloading it again, etc. Also
download the md5 file from rubyforge. You can check the md5 sum of the
file with a program like this.

http://www.md5summer.org/

I also wouldn’t rule out spyware, viruses and other malware. Sometimes
they try to modify executable files as they’re downloaded. Run spybot
or something and try to check that out. There are a lot of things that
can go wrong, you just need to start ruling things out.