Mongrel installation issues

Frank C. Pelletier's Avatar

Frank C. Pelletier

07 Jul, 2010 06:35 PM

Command --> gem install mongrel -v 1.1.2
Response -->
E:/InstantRails2.0/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:528: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

I seem unable to install any gems using rubygems v1.3.6 or v1.3.7
I unpacked InstantRails 2.0 and it didn't have rubygems or mongrel working right. I have been sweating over this for a week now. I have rubygems installed although I don't know what is wrong. I apparently have no gems installed as reported by "gem list". Please advise.

  1. 1 Posted by Frank C. Pellet... on 07 Jul, 2010 08:52 PM

    Frank C. Pelletier's Avatar

    Please note that if I understand the error correctly such that rubygems.rb:528 is line 528, then the error is in the following routine (specifically the last line of the routine):

    ##
    # Zlib::GzipReader wrapper that unzips +data+.
    
    def self.gunzip(data)
        require 'stringio'
        require 'zlib'
        data = StringIO.new data
    
        Zlib::GzipReader.new(data).read 
    end
    

    Note that I have made sure that the issue is not due to permission. There are no file permission issues and I am the machine admin. I gather that my issue is directly germane to unpacking the gem. Why? I have read of speculation that this error comes about when RAM is choked. I will try later today to complete this task on a laptop with 8GB of unencumbered RAM...let you know.

  2. Support Staff 2 Posted by Eric Hodel on 07 Jul, 2010 08:58 PM

    Eric Hodel's Avatar

    You seem to be experiencing a Ruby bug, not a RubyGems bug. Zlib is part of ruby, not RubyGems.

  3. Support Staff 3 Posted by Nick Quaranto on 17 Jul, 2010 08:39 PM

    Nick Quaranto's Avatar

    I would try using the RubyInstaller project instead of InstantRails. Going to consider this resolved, let us know if the problems continue.

  4. Nick Quaranto closed this discussion on 17 Jul, 2010 08:39 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM