# Ruby Installation

**URL:** <https://www.ruby-forum.com/t/ruby-installation/152753>\
**Category:** Ruby\
**Created:** [November 7, 2008, 4:50am UTC](https://www.ruby-forum.com/t/ruby-installation/152753 "2008-11-07T04:50:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyderabadblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Post date:** [November 7, 2008, 4:50am UTC](https://www.ruby-forum.com/t/ruby-installation/152753/1 "2008-11-07T04:50:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hyderabadblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Post date:** [November 7, 2008, 9:51am UTC](https://www.ruby-forum.com/t/ruby-installation/152753/2 "2008-11-07T09:51:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hyderabadblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Post date:** [November 7, 2008, 9:58am UTC](https://www.ruby-forum.com/t/ruby-installation/152753/3 "2008-11-07T09:58:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hyderabadblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Post date:** [November 7, 2008, 2:21pm UTC](https://www.ruby-forum.com/t/ruby-installation/152753/4 "2008-11-07T14:21:10Z")

</div>

On Nov 7, 1:49 pm, Brian C. [removed\_email\_address@domain.invalid](mailto: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…

---

<div class="post-metadata">

**Author:** ![hyderabadblues](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/ba8739/32.png) [@hyderabadblues](https://www.ruby-forum.com/u/hyderabadblues)\
**Post date:** [November 7, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/ruby-installation/152753/5 "2008-11-07T20:35:50Z")

</div>

hyderabadblues wrote:

> 

This visual tutorial might be of interest to you.

> **[Writing PHP Code in Mac TextEdit](https://www.thoughtco.com/using-textedit-for-php-2694153)**
>
> Apple's TextEdit program comes standard on every Mac computer. Here's how to save PHP files on Mac computers using the TextEdit program.

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/](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.
