Gems not installing because of "invalid stored block lengths"
I've been struggling the whole day today with this. I got ruby on my machine ('buntu 10.04), got rubyGems, but I cant install a single gem! I am trying to get rails up and running. Directly downloading from the website does not work either. What's going on?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 02 Apr, 2011 09:54 PM
Please provide exact output that you're getting, including the output of
gem envand the output of the gem installation process with--debug -Voptions.That way we are going to be able to help you better.
3 Posted by daniel on 03 Apr, 2011 04:55 PM
I removed all traces of ruby and rubygems, and started over. Here follows the complete output:
After a fresh install:
And here is the environment info:
The error I get:
And the verbose debug output of said error:
I hope this tells you what the problem is. I already tried downloading from the website, but that did not work either. Another user had a similar problem.
Support Staff 4 Posted by Eric Hodel on 05 Apr, 2011 08:31 PM
Followed by:
So you're not using RubyGems 1.3.5.
If you're getting zlib data errors you have a problem with your network or a broken install of ruby.
Support Staff 5 Posted by Luis Lavena on 23 May, 2011 09:44 PM
Hello getack,
We haven't heard back from you on this issue.
Please let us know if you still have problems with this and none of previous comments help you.
Going to close this in the upcoming days if there is no feedback.
Thank you.
6 Posted by daniel on 24 May, 2011 06:26 AM
Hello
Sorry for being so quiet lately. I've been crazy busy.
No I have not managed to get it running using the method above.
At the end I had to compile RVM from scratch, and use that to compile and install ruby and gems.
Somewhere along the package stream there was a broken package, and it messed up everything downstream. The fact that I compiled most of it on my machine at the end, fixed it.
Thanks! :-)
Nick Quaranto closed this discussion on 27 May, 2011 12:20 AM.