Fixing: uninitialized constant Gem::GemRunner (NameError) – Ubuntu

After upgrading to the newest version of rails (2.2.2) I was getting this error: administrator@shuttle:~/$ gem -v /usr/bin/gem:10:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009. /usr/bin/gem:23: uninitialized constant Gem::GemRunner (NameError) Anytime I called “gem” I would get this error and could not get past. Here is the fix administrator@shuttle:~/$ sudo […]