Nice to see that you’re moving from mongrels, I can’t imagine myself setting up another server without Passenger.
Now to your question, the paths needs to be updated because many gems have an executable script that will be placed at the REE “/bin” folder and if you don’t update the path to add the “/opt/ruby-enterprise/bin” directory you won’t be able to call them directly.
Examples of this are rake, autotest, spec and even mongrel_rails :)
So you need to update your PATH with the REE bin directory to be able to call these scripts without using the full path.
This is a great tutorial and everything seems to be working very well except for one issue. I don’t know how this will affect an application but I have never seen it before.
Once I have nginx running if I try to visit the ip of the server it shows the ruby on rails welcome aboard page. When I click on the About your application’s environment i receive the following error:
“Cannot spawn application ‘/home/john/Sites/blog’: Could not write ‘spawn_application’ command to the spawn server: Broken pipe (32)”