Not signed in (Sign In)
    •  
      CommentAuthorSuperJared
    • CommentTimeJun 20th 2008
     permalink

    Previously it was recommended to use Gem version 1.1.0 over 1.1.1 because of a memory leak. Unfortunately, due to recent empricial evidence gathered by a number of frustrated users, gem 1.1.0 appears to no longer work. I'm not sure why but it seems to fail on parsing the updated source index.

    So for now, you may consider upgrading to a larger size to finish the gem install because it will want to use all of your ram, and then some. I'm looking into RubyGems personally to hopefully bring down the ridiculous ram overhead.

    •  
      CommentAuthorSuperJared
    • CommentTimeJun 20th 2008
     permalink

    This should help install it:

    wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz
    tar zxvf rubygems-1.1.1.tgz
    cd rubygems-1.1.1/
    sudo ruby setup.rb
    
    •  
      CommentAuthorSuperJared
    • CommentTimeJun 20th 2008
     permalink

    Looks like 1.2 is just on the horizon.

    Thankful People: marcus
    •  
      CommentAuthorSuperJared
    • CommentTimeJun 21st 2008
     permalink

    Paul's reporting that 1.1.0 is working again.

    • CommentAuthormarcus
    • CommentTimeJun 22nd 2008
     permalink
    I've tried with 1.0.1, 1.1.0, 1.1.1 and 1.1.1 with the snax patch today. I even upgraded my Slice to a 512... same problem every time.

    1.2 or whatever will fix this could not be released soon enough.
    • CommentAuthormarcus
    • CommentTimeJun 22nd 2008
     permalink
    Ok. Installed rubygems from trunk and it works fine.

    svn co http://rubygems.rubyforge.org/svn/trunk/ .
    sudo ruby setup.rb
    sudo gem install rails
    Thankful People: Encryptic
    • CommentAuthorsenihele
    • CommentTimeJun 22nd 2008
     permalink
    I've had the same experience as marcus - tried all the installs he mentioned and had the same results, including finding success from trunk (on a 512 slice)
    • CommentAuthorEncryptic
    • CommentTimeJun 22nd 2008 edited
     permalink
    That did the trick for me as well. Thanks for posting your findings!
  1.  permalink
    Hi,

    Just spreading the word that the latest version (1.2.0) has FIXED the memory issues experienced when installing and updating on smaller Slices.

    I have updated the articles site and rubygems articles to reflect the new release:

    http://articles.slicehost.com/2008/4/30/ubuntu-hardy-ruby-on-rails

    I hope that helps and thanks to Jared and all those who tested the new version!

    Cheers, PickledOnion