From: Mat Schaffer Date: 2006-07-10T21:30:00+09:00 Subject: Re: Redefining core classes On Jul 9, 2006, at 11:38 PM, Ezra Zygmuntowicz wrote: > On Jul 8, 2006, at 8:30 PM, Jeff Pritchard wrote: > >> What if I'm running two rails apps on the same (apache) server? >> Couldn't changes to core classes made by one of these apps effect the >> other one? >> >> Or does each instance of "ruby someAppOrOther.rb" start up a new >> interpreter in memory? >> >> thanks, >> jp > > Jeff- > > Yeah each ruby foo.rb starts a new interpreter in memory and > opening classes will only affect that instance of the interpreter. > Your two rails apps won't step on each other. > > -Ezra Ezra might know more than I do on this subject, but I remember hearing that mod_ruby needed a special version of dispatch.rb to avoid rails apps conflicting. All the other deployment methods just work though. In short, make sure to read the docs and you'll be fine. -Mat