“Zlib::GzipFile::CRCError crc error” when install gem packages
Question
[root@blanee local_cache]# gem install dm-core-0.9.11.gem ERROR: While executing gem ... (Zlib::GzipFile::CRCError) invalid compressed data -- crc error
[root@blanee local_cache]# gem install ParseTree-3.0.5.gem ERROR: While executing gem ... (Zlib::GzipFile::CRCError) invalid compressed data -- crc error
I have a lot gem packages to install, but some of them can be installed success, but some can't be. My OS is CentOS 5.
btw, the packages are good. because I installed them on another PC.
Anybody can help me?
Solution
be sure you have the latest version of rubygems installed. i've received this error in the past when i had an outdated version.
gem update --system
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow