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 Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20091026/3b813b99/attachment-0001.html>