# Iirb broken?

**URL:** <https://www.ruby-forum.com/t/iirb-broken/177885>\
**Category:** IronRuby\
**Created:** [October 26, 2009, 9:44am UTC](https://www.ruby-forum.com/t/iirb-broken/177885 "2009-10-26T09:44:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barby](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/c57346/32.png) [@barby](https://www.ruby-forum.com/u/barby)\
**Post date:** [October 26, 2009, 9:44am UTC](https://www.ruby-forum.com/t/iirb-broken/177885/1 "2009-10-26T09:44:56Z")

</div>

Hi

As soon as I want to do something slightly more useful with iirb it  
won’t  
work  
When I execute

iirb

it’s not being very helpful at all

on mono:  
IronRuby.Libraries:0:in `GetExecutable': infocmp -C (Errno::ENOENT) from IronRuby.Libraries:0:in `CreateProcess’  
from IronRuby.Libraries:0:in `CreateProcess' from :0:in ``' from /usr/local/cloudslide/ironruby/lib/ruby/site_ruby/1.8/rbreadline.rb:1796:in `get\_term\_capabilities’  
… more stuff in trace …

on windows:

- C:\dev\caricature  
(master) Â» iirb  
IronRuby.Libraries:0:in `GetExecutable': stty size (Errno::ENOENT) from IronRuby.Libraries:0:in `CreateProcess’  
from IronRuby.Libraries:0:in `CreateProcess’  
from :0:in ``’  
… more stuff in trace …

unfortunately the flag -r doesn’t seem to work either because if I  
execute

ir -r lib/caricature  
the constant Caricature is undefined while it should have been loaded.

What I want to get working is the following script:

#!/usr/bin/env ir  
puts “Loading the caricature gem…”  
iirb -r irb/completion -r rubygems -r lib/caricature --simple-prompt

* * *

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))
