In this blog i’m sharing the steps I observed to deploy the rails with nginx-unicorn. Initially I faced some issues with RVM so tried with rbenv. You can try with RVM as well.