Forum: Ruby Ruby Installation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
hyderabadblues (Guest)
on 2008-11-07 05:50
(Received via mailing list)
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.
Brian C. (Guest)
on 2008-11-07 10:51
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.
Sarcar, Shourya C (GE Healthcare) (Guest)
on 2008-11-07 10:58
(Received via mailing list)
> 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.
hyderabadblues (Guest)
on 2008-11-07 15:21
(Received via mailing list)
On Nov 7, 1:49 pm, Brian C. <removed_email_address@domain.invalid> 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...
Michael M. (Guest)
on 2008-11-07 21:35
(Received via mailing list)
hyderabadblues wrote:
>
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.
This topic is locked and can not be replied to.