Dear users,
I want to build a testscript scheduler / executer in C# that runs
several Ruby scripts in sequence.
For this I use IronRuby with the following constuction:
ScriptRuntime runtime = Ruby.CreateRuntime();
ScriptEngine engine = runtime.GetEngine("rb");
loop through scripts:
engine.ExecuteFile("script.rb");
This works fine for basic scripts. However some scripts have class
definition that inherite from a base class.
When such a script (class < baseclass) is passed in:
engine.ExecuteFile("script.rb");
The following exception is thrown:
Microsoft.Dynamic
uninitialized constant Object::BaseClass
I can not find a solution for this problem, so any suggestion is
welcome. If I need an other approuch, do hesitate to say so. Still
learning about Ruby integration in .NET
Thanks in advance
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core