From: Eric Anderson Date: 2011-01-14T09:45:32+09:00 Subject: [ruby-core:34477] [Ruby 1.9-Feature#4265] Provide a core method Kernel#ruby for invoking a new Ruby instance Issue #4265 has been updated by Eric Anderson. I don't think it is a clean environment (I think it forks the parent process so you have a copy of everything it had) but does the following handle many of these cases? It gives you an isolated environment plus a way to talk to the parent process if you want. IO.popen('-') {puts "I'm in a new ruby interpreter"} ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4265 ---------------------------------------- http://redmine.ruby-lang.org