Ruby Installation

H

hyderabadblues

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.
 
B

Brian Candler

hyderabadblues said:
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.
 
S

Sarcar, Shourya C (GE Healthcare)

=20
-----Original Message-----
From: hyderabadblues [mailto:[email protected]]=20
Sent: Friday, November 07, 2008 9:18 AM
To: ruby-talk ML
Subject: Ruby Installation
=20
Hi,
=20
I am trying to install ruby on my XP machine, but I get the=20
error which says "The installer you are trying to use is=20
corrupted or incomplete", use / NCRC switch . I tried doing=20
that( ruby186-27_rc1.exe /NCRC ) but still I get the same error.
=20
But the same software I was able to install on another PC,=20
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.
 
H

hyderabadblues

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.

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...
 
M

Michael Morin

hyderabadblues said:
Hi,

I am trying to install ruby on my XP machine, but I get the error
which saysloa
"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.

This visual tutorial might be of interest to you.

http://ruby.about.com/od/beginningruby/ss/visualinstal.htm

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top