Gem/Rails CRC Error
[root@unknown openssl]# gem install rails --verbose
GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
GET 200 OK: http://gems.rubyforge.org/specs.4.8.gz
Installing gem activesupport-2.3.2
ERROR: While executing gem ... (Zlib::GzipFile::CRCError)
invalid compressed data -- crc error
After about an hour on the rails IRC and talking with a friend over instant messaging about possible issues it ended up boiling down to openssl and openssl-dev not being installed. Install those but you’re not done yet.
cd to your ruby directory then go into the ext directory, once in there cd openssl; ruby extconf.rb; make; make install, cd ../; cd zlib; ruby extconf.rb; make; make install
And the shebang line: gem install rails –verbose and you should be all good to go now
Hope this helps someone else as google was pretty empty with any “resolved” solutions.
Apps

Twitter
November 2nd, 2009 at 7:38 am
your recipe is right! you’ve solved my problem
Thank you so much!
April 8th, 2010 at 12:47 pm
Thank you, so much for solution!!!))