Aha, thanks for that Cynthia, I had no idea Passenger only works via
routes and controller, that makes sense. I thought it was a .php, .cfm
type deal whereby everything with a certain file extension goes via
the specific interpreter (Passenger in this case).

So prob the reason Apache doesn't process the files is that they're
not entered in Apache as files types it needs to process. Will stick
with Rails conventions, that will be the best way to test Passenger
deployment.

Right, onto building an app. Are gem dependency issues better handled
by using RVM, or overall Rails 3 does a good job of tackling them?

On May 30, 10:15 pm, Cynthia Kiser <[email protected]> wrote:
> Quoting Pardeep <[email protected]>:
>
> > Does passenger recognize the file to process by file extension alone,
> > or also some code in the header of the file too?
>
> Where are you putting your index.rb file? Is it in public? Everything
> in your public directory is served directly out of apache without
> running through the rails stack.
>
> To run something through rails to be processed, you need routes and a
> controller. Since you didn't mention either, I suspect you are not
> invoking rails at all.
>
> --
> Cynthia N. Kiser
> [email protected]

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to