Ruby on rails on linux (ubuntu) want my mysql password but..

You’ve got to delete that file (as it says on that page) to see your rails application. Delete public/index.html, and create a controller/scaffold or two, and set up the routes.rb well. Following a tutorial somewhere would help.

Vish