I''ve just set up a minimal Gentoo install and emerged Ruby 1.8.5 from portage. I then went to emerge rubygems, and found that it hangs. Manually downloading the file and running ''ruby setup.rb'' also hangs. The following are the last few lines I get before nothing happens, and my CPU sits at 100% (from Ruby): Successfully built RubyGem Name: sources Version: 0.0.1 File: sources-0.0.1.gem Any help would be great. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
A compilation from source makes no difference, either. Is this some sort of unique Gentoo issue? On Feb 7, 5:45 pm, "John" <intrepi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve just set up a minimal Gentoo install and emerged Ruby 1.8.5 from > portage. I then went to emerge rubygems, and found that it hangs. > Manually downloading the file and running ''ruby setup.rb'' also hangs. > The following are the last few lines I get before nothing happens, and > my CPU sits at 100% (from Ruby): > > Successfully built RubyGem > Name: sources > Version: 0.0.1 > File: sources-0.0.1.gem > > Any help would be great.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I had the same problem both with emerging rubygems or directly running setup.rb from rubygems-0.9.2.tgz I fixed it by patching rubygems-0.9.2/lib/rubygems/packages.rb: 450,453c450,453 < if @io.respond_to? :seek < # avoid reading... < @io.seek(size - entry.bytes_read, IO::SEEK_CUR) < else ---> #if @io.respond_to? :seek > # # avoid reading... > # @io.seek(size - entry.bytes_read, IO::SEEK_CUR) > #else460c460 < end ---> #endWith that patch you force the TarReader to actually read the file rather than just seeking into it. The bug was that by seeking, the bytes_read attribute of entry was never updated. Philippe On Feb 7, 3:03 pm, "John" <intrepi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> A compilation from source makes no difference, either. Is this some > sort of unique Gentoo issue? > > On Feb 7, 5:45 pm, "John" <intrepi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''ve just set up a minimal Gentoo install and emerged Ruby 1.8.5 from > > portage. I then went to emerge rubygems, and found that ithangs. > > Manually downloading the file and running ''rubysetup.rb'' alsohangs. > > The following are the last few lines I get before nothing happens, and > > my CPU sits at 100% (from Ruby): > > > Successfully built RubyGem > > Name: sources > > Version: 0.0.1 > > File: sources-0.0.1.gem > > > Any help would be great.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- [PATCH v2 0/2] hwrng, virtio-rng: init-time fixes
- [PATCH v2 0/2] hwrng, virtio-rng: init-time fixes
- [PATCH 0/2] hwrng: don't fetch data before device init
- [PATCH 0/2] hwrng: don't fetch data before device init
- [PATCH 1/2] hwrng: don't fetch rng from sources without init