indexI am trying to deploy a simple Rails 3 app on a AWS EC2 with a Ubuntu 12.04 64 bit AMI. I followed the steps in the Phusion Passenger NGinx install page. I also used RVM which was installed successfully.
My steps:
- Install and configure RVM
- Install Ruby 1.9.3
- Install Rails 3.2.3
- Install Passenger
- Run passenger-install-nginx-module (had to use rvmsudo)
- Created a new rails app (rails new passenger_test)
Added the following config section to the nginx.conf
server { listen 80; server_name localhost; root /home/ubuntu/passenger_test/public; passenger_enabled on }
I restarted nginx and the rails default public/index.html default rails page shows up but the rails.png doesn't render and "view your application's enviroment" link does not work. I have tried four different times on four fresh new server and always get the same result. Please help!