简体   繁体   中英

“Zlib::GzipFile::CRCError crc error” when install gem packages

[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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM