Yep, that did the trick. Capistrano 1.99.2 installed.

Thanks Jamis!

Jack

On Jun 25, 6:38 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
> I've sent this patch to the RubyGems folks, but they're a bit reticent
> to apply it, since I can't explain why the patch works. However, it
> did allow me to install the cap beta gem successfully. If you're up to
> the challenge and don't mind cargo culting code that fixes bugs for no
> apparent reason, you can do this:
>
> 1. Locate rubygems/package.rb somewhere in your Ruby library paths. It
> was under /opt/local/lib/ruby/site_ruby/1.8/rubygems for me.
>
> 2. Open it up, and find the zipped_stream method.
>
> 3. Replace that method, entirely, with the following:
>
>     def zipped_stream(entry)
>       entry.read(10) # skip the gzip header
>       zis = Zlib::Inflate.new(-Zlib::MAX_WBITS)
>       is = StringIO.new(zis.inflate(entry.read))
>     ensure
>       zis.finish if zis
>     end
>
> Let me know if that doesn't work for you.
>
> - Jamis
>
> On Jun 25, 11:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Thanks Jamis, but that's exactly what I did and I get the same error
> > as the OP:
>
> > ERROR:  While executing gem ... (Zlib::BufError)
> > buffer error
>
> > I've tried on several windows machines and it's the same error, which
> > is why I was wondering if there was a gem package I could just
> > download and install locally.
>
> > Thanks again,
> > Jack
>
> > On Jun 25, 11:57 am, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> > > Jack,
>
> > > The beta gem is at:
>
> > >    gem install -shttp://gems.rubyonrails.comcapistrano
>
> > > It will report itself as version 1.99.2, which is the capistrano 2.0
> > > preview release #3.
>
> > > - Jamis
>
> > > On Jun 20, 2007, at 2:41 PM, [EMAIL PROTECTED] wrote:
>
> > > > I'm having the same issue on Vista =\ I guess this only affects
> > > > windows users. Is there a cap beta gem available somewhere? I only see
> > > > 1.x on rubyforge. Thanks.
>
> > > > Jack
>
> > > > On Jun 19, 2:11 pm, Amr Malik <[EMAIL PROTECTED]> wrote:
> > > >> Hehe, thanks Jamis, this is for my work machine, my home macbookpro
> > > >> install had no problems at all.. I'll check on the gem side to see if
> > > >> i can track it down there. My gems were at 0.93 and then I got this
> > > >> and figured I'd up it to latest but that didn't do it for me this
> > > >> time..
>
> > > >> thanks again, at least I know it's not just me :)
>
> > > >> -Amr
>
> > > >> On Jun 19, 2:03 pm, Jamis Buck <[EMAIL PROTECTED]> wrote:
>
> > > >>> Amr,
>
> > > >>> I just tried installing capistrano on WinXP, and got the same error.
> > > >>> I'm afraid I have no suggestions at this point, aside from the
> > > >>> (certainly unhelpful) observation that it works fine on Mac OSX. :/
>
> > > >>> - Jamis
>
> > > >>> On Jun 19, 2007, at 11:18 AM, Amr Malik wrote:
>
> > > >>>> I have upgraded my gem package to 0.9.4 but when I tried to install
> > > >>>> the latest cap2p3 using the following:
>
> > > >>>> gem install -shttp://gems.rubyonrails.orgcapistrano
>
> > > >>>> I get the following error:
>
> > > >>>> ERROR:  While executing gem ... (Zlib::BufError)
> > > >>>>     buffer error
>
> > > >>>> Anyone else having the same issue? when I had this error the last
> > > >>>> time, upgrading the gem version to latest (0.9.3 at that time)
> > > >>>> seems
> > > >>>> to have fixed it, but not this time.
>
> > > >>>> anyone else have this?
>
> > > >>>> Thanks,
>
> > > >>>> Amr


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to