I have dropped the hope of installing it in windows.I am now trying to install in ubuntu..Can u suggest a good and latest step by step guide on installing it

Hey, Karthick, I've written a post Install Ruby on Rails in Ubuntu for Ubuntu 12.04 but it should work fine with other versions too. Although, there's also an installer script to save time but it's not recommended if you're just starting out!