Re: [Ironruby-core] IronRuby hosting - executing C# method

2012-11-21 Thread Konstantin Kos
Orion Edwards wrote in post #1085558: > ___ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core ??? -- Posted via http://www.ruby-forum.com/. ___ I

[Ironruby-core] IronRuby hosting - executing C# method

2012-11-20 Thread Konstantin Kos
Hi, I have some issue with hosting IronRuby in C# application. I've created Ruby ScriptEngine, created ScriptScope with delegate in it: > C# > scope.SetVariable("func", new Action(MyMethod)); but can't execute "func" from script > Ruby > func("argument") fails with ArgumentException "wrong numbe

Re: [Ironruby-core] activerecord installation

2010-10-02 Thread Konstantin Kos
i can run "ir.exe -1.9" and RUBY_VERSION will be 1.9.1 but by default (and in "igem" RUBY_VERSION is 1.8.6 by default. perhaps there is a way to set ruby version for "igem" (and for "iirb") or change running default arguments? -- Posted via http://www.ruby-forum.com/.

[Ironruby-core] activerecord installation

2010-10-01 Thread Konstantin Kos
when i try to install activerecord gem on ironruby, i've got: >igem install activerecord -r --no-rdoc --no-ri ERROR: Error installing activerecord: activesupport requires Ruby version >= 1.8.7 ('ir.exe -e "puts RUBY_VERSION"' returns '1.8.6') may be i can change ruby version in igem to