In the last weeks, I've been exploring my options for hosting a Ruby on Rails application. An important step was Windows Azure. I registered for a 90-day trial to give it a try. One of the great services Microsoft has offered was the Ubuntu virtual machine ( :D ). So this tutorial can be useful even with a normal Ubuntu machine (except the Endpoints part) since I'm treating it like an Ubuntu machine regardless of the Azure service it is hosted on. In this tutorial, I will create a new Ubuntu 12.04 LTS virtual machine, install Ruby ( 1.9.3 ) and Rails ( 3.2.9), install Passenger gem, install Apache server and connect it to Rails application. And finally, some important notes about getting your project up and running. Create an Ubuntu 12.04 LTS VM: - In you portal, from the bottom right corner click: New -> Compute -> Virtual Machine -> From Gallery. - Scroll the list to Ubuntu Server 12.04 LTS and click it. - Fill the required data about the VM name, the us...
Sharing my experience from trials and troubles.