I think,this error is due to upgrading your gem version.
To reproduce this issue, follow the steps below
1> whereis gem
Ex : /usr/bin/ruby/gem ...and so on..
2> delete all the listed files & directories (only gem related files..dir)
3>Once again install gem-0.9.5
4> Now ur problem get solved