Any advice with deploying a rails app

Hi everyone, i have completed my rails app using webrick, and now want
to put on my hosts server which runs apache. I couldnt find any
tutorials, or information on what i need to copy over, and what
configurations i need to change. Does anyone have any advice for me?

I dont have full access on my host, but it does support rails. I have
ssh’d in and made a noddy application which works fine, but when i copy
mine over, i just get a 404.

Thankyou