Need a sample file of dispatch.fcgi, dispatch.rb, .htaccess

I’m currently working on godaddy hosting that support ruby on rails.
But i found out all the tutorial on rubyonrails.org and other place
don’t work. I need to know how exactly how to setup. But i failed, so
i need a sample of those file from anyone who willing to share their
experience with me.

Please teach me and include sample files.

Thank you for your kidness help!!