Re: ruby binary?

Shugo Maeda <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

At Thu, 26 Feb 2004 10:15:21 -0800,
Paul Vudmaska <[email protected]> wrote:
> My appologies Shugo, i've been unclear. I'm contemplating moving my 
> stuff from one host to another. The difference is we do not "share" ruby 
> at this new place - http://www.ocssolutions.com/hosting/ruby.php. Each 
> installation gets an eruby binary in their account. This was quite 
> different than before because i could actually be effected by others use 
> of names. It actually happened. But here, where im checking out the new 
> stuff, they say "we dont use mod_ruby we use eruby". And each account 
> has an individual instance running. Since this was different, i was 
> concerned/hopeful and wanted to learn how they were different but got 
> little insight from the host. My appologies for my ignorance! Thanks!:P

If you use eruby on mod_ruby, all users share the same Ruby
interpreter instance. So if you define a class (or a method
etc...) which have a same name with other's one, you may break
it.

On the other hand, if you use the standalone eruby, you don't
share the Ruby interpreter with others. So there are no such problems.

I general, it's easier to use the standalone eruby than eruby on mod_ruby.

Hope this helps,
Shugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.