Need help to configure RoR to host on Linnux

go to routes.rb file in config directory and add something like
map.connect ':controller/:action/:id', :controller => 'mycontroller'
before this line
map.connect ':controller/:action/:id'

also rename the index.html file in your public folder to something
else, like index1.html

and then restart your server

this should work