Mod_Rails question

0 views
Skip to first unread message

Penguin Junior

unread,
Nov 11, 2009, 10:14:43 AM11/11/09
to rubyonra...@googlegroups.com
Hi!

I'm deploying a RoR app under Apache with Phusion Passenger (aka'
mod_rails), but i rode at http://www.modrails.com/documentation.html
that isn't good idea use it for a producction server.

I was searching, and i got a lot of opinions about use/not use for
production, the most negative opinions are around 2007/2008.

I want to know if Phusion Passenger give the needed stability and
security for use it at production server.


* The only situation where is not recomendable to use, it's at VPS/Share
hosting because that:

“mod_ruby uses a shared interpreter per Apache process, which means that
multiple Rails applications on the same Apache setup with mod_ruby would
share the framework classes. This doesn't work well with the Rails model
of using class-level configuration attributes, so it’s considered unsafe
to use mod_ruby and Rails with more than one application running per
Apache setup, because different applications may start sharing the
classes.”

http://wiki.rubyonrails.org/rails/pages/mod_ruby


But thisn't a problem for me, because i'm going to run only one app at
the server.

I aprecite all help.
Thank you.
--
Posted via http://www.ruby-forum.com/.

Gregory Mazurek

unread,
Nov 11, 2009, 10:21:34 AM11/11/09
to rubyonra...@googlegroups.com
Mod_Rails (Phusion Passenger) is different than Mod_Ruby.  You'll enjoy using Mod_Rails.

Greg
--
www.abetaday.com

Penguin Junior

unread,
Nov 11, 2009, 10:30:52 AM11/11/09
to rubyonra...@googlegroups.com
Gregory Mazurek wrote:
> Mod_Rails (Phusion Passenger) is different than Mod_Ruby. You'll enjoy
> using Mod_Rails.
>
> Greg
>
> On Wed, Nov 11, 2009 at 10:14 AM, Penguin Junior <
> rails-mai...@andreas-s.net> wrote:
>
>> I want to know if Phusion Passenger give the needed stability and
>> to use mod_ruby and Rails with more than one application running per
>> Thank you.
>> --
>> Posted via http://www.ruby-forum.com/.
>>
>> >
>>
>
>
> --
> www.abetaday.com
I mistake the link

http://www.modrails.com/documentation.html


And... i think that i'm completely wrong...

Well, Phussion Passenger, GOOD, ¿ok?

Marnen Laibow-Koser

unread,
Nov 11, 2009, 1:49:57 PM11/11/09
to rubyonra...@googlegroups.com
Penguin Junior wrote:
> Hi!
>
> I'm deploying a RoR app under Apache with Phusion Passenger (aka'
> mod_rails), but i rode at http://www.modrails.com/documentation.html
> that isn't good idea use it for a producction server.

You misread that page. That page correctly states that mod_ruby is not
suitable for production hosting of Rails apps. However, mod_ruby has
absolutely nothing to do with Passenger (mod_rails).


>
> I was searching, and i got a lot of opinions about use/not use for
> production, the most negative opinions are around 2007/2008.
>
> I want to know if Phusion Passenger give the needed stability and
> security for use it at production server.

Yes, absolutely! I recommend Passenger very highly.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org

Reply all
Reply to author
Forward
0 new messages