title: Phusion Passenger + NGinx with Rails 3
body: <p>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.</p>
  
  <p>My steps:</p>
  
  <ol>
  <li>Install and configure RVM</li>
  <li>Install Ruby 1.9.3</li>
  <li>Install Rails 3.2.3</li>
  <li>Install Passenger</li>
  <li>Run passenger-install-nginx-module (had to use rvmsudo)</li>
  <li>Created a new rails app (rails new passenger_test)</li>
  <li><p>Added the following config section to the nginx.conf</p>
  
  <pre><code>server {
   listen       80;
   server_name  localhost;
   root /home/ubuntu/passenger_test/public;
   passenger_enabled on
  }
  </code></pre></li>
  </ol>
  
  <p>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! </p>