'passenger enabled on' required under location block on using different passenger_ruby

The example given for passenger_ruby won't work and will return 403 forbidden error from nginx. It works with 'passenger_enabled on' inside location block. I am not sure if it's a bug or a documentation error though.