SUPPORT THE SITE WITH A CLICK

Subscribe Rss:

SUPPORT THE SITE WITH A CLICK

Friday, February 15, 2008

/usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError)

Upgrading the version of rubygems to the most current version by running

sudo gem update --system


Which introduced this error:
/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)

Simply add the line to the file /usr/bin/gem (note it will differ for mac and for ubuntu this will be the path)

require 'rubygems/gem_runner'
after
require 'rubygems'

This will solve the error.

5 comments :

  1. Thank you for posting this. I dont know when it was posted but google brought it up. It fixed my prob! Thanks again.

    ReplyDelete
  2. Thank you also this resolved it!

    ReplyDelete
  3. thank you very much,

    how did get this fault solved?

    anyway, great

    syb

    ReplyDelete
  4. rake aborted!
    no such file to load -- openssl

    ReplyDelete