# Strange crc error when install rails with gem

**URL:** <https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660>\
**Category:** Rails\
**Created:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660 "2005-11-12T12:49:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pertl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eada6e/32.png) [@pertl](https://www.ruby-forum.com/u/pertl)\
**Post date:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660/1 "2005-11-12T12:49:59Z")

</div>

has anyone seen this before:

~$ gem install rails  
Attempting local installation of ‘rails’  
Local gem file not found: rails\*.gem  
Attempting remote installation of ‘rails’  
Updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
Install required dependency rake? [Yn]  
Install required dependency activesupport? [Yn]  
ERROR: While executing gem … (Zlib::GzipFile::CRCError)  
invalid compressed data – crc error

vader:/opt/bin # arch  
x86\_64

$ uname -a  
Linux vader 2.6.12.4-sis190-050808a #1 SMP Mon Aug 8 01:08:43 CEST 2005  
x86\_64 x86\_64 x86\_64 GNU/Linux

I am running Suse 9.3

Regards  
Peter

---

<div class="post-metadata">

**Author:** ![pertl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eada6e/32.png) [@pertl](https://www.ruby-forum.com/u/pertl)\
**Post date:** [November 12, 2005, 12:50pm UTC](https://www.ruby-forum.com/t/strange-crc-error-when-install-rails-with-gem/47660/2 "2005-11-12T12:50:01Z")

</div>

On Nov 11, 2005, at 4:32 AM, Pete wrote:

> ```
> invalid compressed data -- crc error
> 
> ```

Hey Pete-

```
I think you are missing the zlib-devel package. I am not sure what

```

this package is called on Suse as I use debian but that is the same  
error you get when you don’t have the zlib dev headers.

HTH-

-Ezra Z.  
WebMaster  
Yakima Herald-Republic Newspaper  
removed\_email\_address@domain.invalid  
509-577-7732
