Problem with Rake task execution on server for rails appn

Hi,

I have my rails application on textdrive server as production.

I am facing problem with execution of rake tasks on textdrive server.
when I am trying to run rake tasks using putty, I am getting error as

“rake aborted! Text is not a module” and the path for error is
“/usr/local/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/vendor/text/format.rb:49”.

Please let me know if any one have any idea about this error and faced
the same problem in past.

Thanks,

Piyush.