"gem install rails" error on Windows

Hello all.

I'm having the following problem and I can't seem to find a solution for it: running "gem install rails" on a Windows environment generates "ERROR: While executing gem ... (Zlib::BufError) buffer error"

I've tried 'gem update --system', but with no success. I am out of sollutions but not out of hope (yet). Please, can anyone point me in the right direction?

Thanks a lot, Daniel

What version of Ruby are you running?

(Run ruby -v from the command prompt)

Here is a link to a similar problem - http://dev.rubyonrails.org/ticket/7305