server.rb:
--

require 'drb'
class Server
  def loadscript(file)
    load(file)
  end
end

$srvr = Server.new
DRb.start_service('druby://localhost:1234',$srvr)
DRb.thread.join

loadscript.rb:
--

require 'drb'
DRb.start_service(0
srvr = DRbObject.new(nil,'druby://localhost:1234')

ARGV.each do |file|
  srvr.loadscript(file)
end

newscript.rb:
--
puts "New script successfully loaded"

..
ruby server.rb (in shell 1)
ruby loadscript.rb newscript.rb (in shell 2)
=> "New script succesfully loaded" (in shell 1)


--
Greg Millam
walker at deafcode.com

On Sat, 7 Dec 2002, Mark Probert wrote:

>
> Hi, Phil.
>
> At 03:58 PM 12/6/2002 +0900, you wrote:
> > >
> > >The main idea that I have for ratlast is as a user-extensible command
> > >language for Ruby applications.  For example, what do you do if you have
> > >a running Ruby system that you can't take down, yet you have to add some
> > >functionality?  That is very easy to do using ratlast.
> > >
> >
> >Actually, that's easy to do using Ruby. ;-)
>
> Do tell ... :-)
>
>
>
>
> -mark.
>
>
>