Hi<div><br></div><div>I just updated from github and ironrubymvc broke.</div><div><br></div><div>This method would happily execute before the update.</div><div><br></div><div><div>public object CreateInstance(RubyClass rubyClass)</div>
<div> {</div><div> return Operations.CreateInstance(rubyClass);</div><div> }</div><div><br></div><div>Now it throws an exception. Do I need to change something?</div><div><span class="Apple-style-span" style="font-family: -webkit-monospace; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><pre style="font-family: 'Lucida Console'; font-size: 0.9em; ">
ArgumentException: wrong number of arguments (0 for 1)]
Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) +58
Microsoft.Scripting.Interpreter.Interpreter.RunInstructions(InterpretedFrame frame) +90
Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) +104
Microsoft.Scripting.Interpreter.LightLambda.Run2(T0 arg0, T1 arg1) +337
IronRuby.Runtime.Calls.InterpretedFuncDispatcher`2.Invoke(CallSite callSite, T0 arg0) +574
System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +1217
CallSite.Target(Closure , CallSite , Object ) +414
System.Dynamic.UpdateDelegates.UpdateAndExecute1(CallSite site, T0 arg0) +1217
Microsoft.Scripting.Runtime.DynamicOperations.CreateInstance(Object obj, Object[] parameters) +209
Microsoft.Scripting.Hosting.ObjectOperations.CreateInstance(Object obj, Object[] parameters) +51
System.Web.Mvc.IronRuby.Core.RubyEngine.CreateInstance(RubyClass rubyClass) in C:\dev\ironrubymvc\IronRubyMvc\Core\RubyEngine.cs:100
System.Web.Mvc.IronRuby.Controllers.RubyControllerFactory.ConfigureController(RubyClass rubyClass, RequestContext requestContext) in C:\dev\ironrubymvc\IronRubyMvc\Controllers\RubyControllerFactory.cs:87
System.Web.Mvc.IronRuby.Controllers.RubyControllerFactory.LoadController(RequestContext requestContext, String controllerName) in C:\dev\ironrubymvc\IronRubyMvc\Controllers\RubyControllerFactory.cs:73
System.Web.Mvc.IronRuby.Controllers.RubyControllerFactory.CreateController(RequestContext requestContext, String controllerName) in C:\dev\ironrubymvc\IronRubyMvc\Controllers\RubyControllerFactory.cs:40
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext) +128
System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext) +57
System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext) +7
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75</pre></span></div>---<br>Met vriendelijke groeten - Best regards - Salutations<br>Ivan Porto Carrero<br>Blog: <a href="http://flanders.co.nz">http://flanders.co.nz</a><br>
Twitter: <a href="http://twitter.com/casualjim">http://twitter.com/casualjim</a><br>Author of IronRuby in Action (<a href="http://manning.com/carrero">http://manning.com/carrero</a>)<br><br>
</div>