Merb 1.0 Install Error:merb-core requires RubyGems version >= 1.3.0

Written by Ben

When I tried to gem install Merb 1.0 I got this error

ERROR:  Error installing merb:
  merb-core requires RubyGems version >= 1.3.0

I tried to do a gem system update to the newest version of RubyGems (1.3.1) which failed.

$ sudo gem update --system
Updating RubyGems
Updating rubygems-update
Successfully installed rubygems-update-1.3.1
ERROR:  While executing gem ... (NameError)
    undefined local variable or method `remote_gemspecs' for #<Gem::Commands::UpdateCommand:0x1138b24>

When I ran it again everything seemed fine. Then tried to install Merb and got the same message about needing RubyGems version 1.3.0 or higher.

Turns out there is a problem upgrading from RubyGems 1.1 and 1.2 when rubygems-update is not previously installed.

If you try the alternative update commands then you should be able to gem install Merb 1.0 ok.


$ sudo gem install rubygems-update
$ sudo update_rubygems

3 Comments

  1. Redd Vinylene

    12 December, 2008

    Thanks man, great article.

  2. Simon Brook

    Simon Brook

    28 December, 2008

    Much appreciated!

  3. Alexander

    4 March, 2009

    Thanks! it helped me to make gem system update!
    Got the same problem with other plugin.

LEAVE A COMMENT

COMMENT GUIDELINES

please leave a valid email address, it will not be displayed in your comment.

Required fields are marked *

Inappropriate or off-topic comments will be edited or deleted.

Some XHTML allowed:
<a href="http://..." > <blockquote > <code> <del > <em> <strong>

*
*