# RubyInject 0.1.0

**URL:** <https://www.ruby-forum.com/t/rubyinject-0-1-0/121167>\
**Category:** Ruby\
**Created:** [November 24, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/rubyinject-0-1-0/121167 "2007-11-24T20:24:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [November 24, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/rubyinject-0-1-0/121167/1 "2007-11-24T20:24:30Z")

</div>

Hi,

I am glad to announce the first version of the RubyInject project.

RubyInject is a Mac OS X framework that allows you to inject at  
runtime the Ruby interpreter into any running application, using the  
mach\_star mechanism.

It will spawn a new thread on the remote process, initialize the Ruby  
interpreter, start a new DRb server that exposes an expression  
evaluator object, and advertises the DRb server URI on Bonjour.

A client is provided, inject.rb, that waits on Bonjour for the DRb  
server URI, connects to it, then either executes a given Ruby script  
or starts an IRB session.

RubyInject is especially useful when combined with RubyCocoa. You can  
at runtime inject RubyCocoa into an Objective-C application and start  
introspecting and messaging its objects.

Check out the following link for more details:

[http://rubycocoa.sourceforge.net/RubyInject](http://rubycocoa.sourceforge.net/RubyInject)

Enjoy,

Laurent

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [November 25, 2007, 6:40am UTC](https://www.ruby-forum.com/t/rubyinject-0-1-0/121167/2 "2007-11-25T06:40:55Z")

</div>

On Nov 24, 12:21 pm, Laurent S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> RubyInject is especially useful when combined with RubyCocoa. You can  
> at runtime inject RubyCocoa into an Objective-C application and start  
> introspecting and messaging its objects.
> 
> Check out the following link for more details:
> 
> [http://rubycocoa.sourceforge.net/RubyInject](http://rubycocoa.sourceforge.net/RubyInject)

HO  
LEE  
CRAP

I am very excited about this. Checking it out now.

---

<div class="post-metadata">

**Author:** ![Laurent\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/65b543/32.png) [@Laurent\_S](https://www.ruby-forum.com/u/Laurent_S)\
**Post date:** [October 29, 2008, 4:08pm UTC](https://www.ruby-forum.com/t/rubyinject-0-1-0/121167/3 "2008-10-29T16:08:54Z")

</div>

Is anyone out there using this? I am having trouble getting it going:  
tried the example and it just crashes TextEdit.

Martin
