I'm trying to set up for the first time with Rubber onto EC2 (complete_passenger_nginx_postgresql). I changed a bunch of settings in the config files to make it work with a different AMI (Ubuntu 12.04.3 LTS - ami-a73264ce (64-bit)), Ruby 2.1.0, Passenger 4.0.29, and Nginx 1.4.4. I almost got it to work, but it failed when starting Nginx with the following error:
nginx: [emerg] invalid number of arguments in "passenger_root" directive in /etc/nginx/nginx.conf:45
rubber-passenger_nginx.yml has the following code for "passenger_root":
passenger_lib: "#{passenger_root}/ext/nginx"
Any idea what I should change to make it work?
You have an error in your /etc/nginx/nginx.conf file.
Change the lines:
into: