piranha eth0 gem --version usr bin gem 14 undefined method ruby_versio

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
piranha@eth0 ~>gem --version
/usr/bin/gem:14: undefined method `ruby_version' for Gem:Module (NoMethodError)
# comment this lines in /usr/bin/gem:
#unless required_version.satisfied_by? Gem.ruby_version then
# abort "Expected Ruby Version #{required_version}, was #{Gem.ruby_version}"
#end
piranha@eth0 ~>gem --version
/usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:19:in `do_configuration': uninitialized constant Gem::ConfigFile (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/gem_runner.rb:8:in `run'
from /usr/bin/gem:24