Rake aborted! Cannot find node for <hostname>


I am finding difficult to run rake task.
When I run rake -T command, I got error below

rake aborted!
Cannot find node for MyMachineHostName

Below is the list of gems I have installed

Ruby Version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32]

Please let me know if you need any details for investigation.

Please note that the application which I am working is legacy application, I can’t do any upgrade in version. It was working earlier but not working now.