I’m working on a project where I would like to host the IronRuby
console, and I’m getting some stack overflow exceptions. I’ve met the
end of my own knowledge, so I’m wondering if there is more information
available anywhere about doing something like this?
I was just modifying my copy of the Ruby.Console project in the
IronRuby source, but I would really like to break this into a separate
project. I started with a blank console app, and straight code copy
over, and it builds, and even starts, but anything typed into the
console causes the exception. I thought it might have been because I
had targeted the wrong .Net version, but I fixed that.
“Cannot evaluate expression because the current thread is in a stack
overflow state.”
I thought it may have been a permissions issue, because the only way I
could get IronRuby to compile was by running as Administrator, but
this did not fix the problem either.
Including IronLibrary.Libraries.dll into your project will make it work.
And you should probably file a bug on RubyForge – we should give a more
reasonable error message when this module is missing instead of
overflowing the stack.
Including IronLibrary.Libraries.dll into your project will make it work. And you should probably file a bug on RubyForge – we should give a more reasonable error message when this module is missing instead of overflowing the stack.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.