PROBLEM:

After updating rubygems, gem command doesn't seem to work anymore resulting to the error:

RubyGems: undefined method 'manage_gems' for Gem:Module (NoMethodError)

SOLUTION:

Open /usr/bin/gem and edit replace this part:

Gem.manage_gems

with this:
require 'rubygems/gem_runner'
#Gem.manage_gems

No comments :

Post a Comment