Thanks for the suggestion. Last night I got passenger gem installed,
and then I point apache’s document root to my-app/public/, but for some
reason, passenger couldn’t find the app. Oh, it find the public/'s
static index page OK, but when I entered direct url such as
my-app/display, the server displayed some sort of page not found. I
know for sure my route is OK, because if I test it with mongrel by doing
/script/server, and visit localhost:3000, it would work. To be clear I
got Apache running fine, because PHP’s Drupal is running when I visit
something.example.com/drupal. (I changed /etc/hosts/ to have
example.com works as localhost). I know my apache’s virtual hosts
configuration got it right because I did that for PHP’s Drupal.
With that said, I have to go and read more about passenger and its
tutorial, plus how RoR/Ruby server gets deployed.
AnÃbal Rojas wrote:
The answer is ‘it depends’, if you are familiar with Apache,
already have it running and feel comfortable managing it Passenger is
a really good option, also it should do a great job if you are
planning to have a bunch of small apps. If you are low on resources
and need nothing but run a rails app mongrel or thing should do the
job for you, usually with a small, fast, efficient web server in the
front end as Nginx.
I would recommend posting it to the Rails Deployment Group:
Anï¿½bal Rojas @anibalrojas
On Mar 26, 4:24 am, Power O. email@example.com