I\'ve an old version of Rails project which was built using BrowserCMS in the config/environment file
RAILS_GEM_VERSION = \'2.3.4\' unless defined? RAILS_GE
I had this problem. The solution is to downgrade rubygems to a version you support.
I needed version 1.3.5 (for rails 2.3.5)
So you need to do:
gem install rubygems-update -v 1.3.5
update_rubygems --version=1.3.5
And now rake should work.
I think you should update the RubyGems version.
Try gem install rubygems-update
.