This post will help you to setting up ruby on rails application on (Linux) server side. i cover all points which is needed for basic deployment. For the scalable deployment is next part, which is not cover in this. i will post that later.
Read this post on shriikant.blogspot.com