Capistrano windows <Zlib::buffError>

can’t istall capistrano, it gives me that error, buffer error
does anyone knows how to fix this problem, I think that only on windows
happens

update your rubygems package, even if you just installed it

gem update --system

info from this site

Dion H. wrote:

update your rubygems package, even if you just installed it

gem update --system

info from this site
Zlib:BufError | Don't Repeat Yourself

Thank you very much, it worked