Hello all. I am new to IronRuby and just started. I installed IronRuby 1.1.3, and then tried to run one of the tutorials. I ran the wpf_tutorial.rb from C:\Program Files (x86)\IronRuby 1.1\Samples\Tutorial. System.Core:0:in `BindCore': Method not found: 'Microsoft.Scripting.Actions.Calls.OverloadInfo[] Microsoft.Scripting.Actions.Calls.ReflectionOverloadInfo.CreateArray (System.Reflection.MemberInfo[])'. (NoMethodError) from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems.rb:152 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/gem_prelude.rb:142:in `load_full_rubygems_library' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/gem_prelude.rb:192:in `try_activate' from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:32:in `require' from wpf_tutorial.rb:32 I checked my environment variables, and I have this: IRONRUBY_11=C:\Program Files (x86)\IronRuby 1.1\bin Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\IronRuby 1.1\bin;C:\Ruby193\bin Should there be anything else I should configure or investigate? I also tried running ironruby from VS2010SP1 and #Develop 4.2.1, but couldn't really get anywhere, so I tried the tutorials, figuring that these would work... - Joaquin
on 2012-08-05 23:42
on 2012-08-09 16:06
Did you add references to your project in VS2010? Make references to IronRuby.dll, IronRuby.Libraries.dll, Microsoft.Scripting.dll, Microsoft.Scripting.Metadata, Microsoft.Dynamic.dll. That's how it works for me.
on 2012-08-12 04:26
Does the new installer in 1.1.3 not install these libraries? I was considering trying to install 1.1, then 1.1.3 over it, as maybe perhaps the 1.1.3 doesn't seem work w/ fresh install on clean system. I searched my system, and I found IronRuby.dll and IronRuby.Libraries.dll inside: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Microsoft\IronRuby Tools for Visual Studio\0.1" For the other DLLS, I couldn't find this anywhere from the IronRuby install, I did find some from Iron Python's installation, such as: "C:\Program Files (x86)\IronPython 2.7\Platforms\Net40" - Joaquin ------------------------------ Message: 7 Date: Thu, 09 Aug 2012 16:06:58 +0200 From: Alexander Ranger <lists@ruby-forum.com> To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Problems with 1.1.3 Message-ID: <71efcc4953fc59eb694b0dadd791c5bc@ruby-forum.com> Content-Type: text/plain; charset=UTF-8 Did you added references to your project in VS2010? Make references to IronRuby.dll, IronRuby.Libraries.dll, Microsoft.Scripting.dll, and Micrsoft.Scripting.Core.dll Although Microsoft.Dynamic.dll does not need referenced, it must be in the directory of the executing assembly. That's how it works for me. -- Posted via http://www.ruby-forum.com/. ------------------------------ _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core End of Ironruby-core Digest, Vol 58, Issue 1 ********************************************
on 2012-08-12 05:32
It's really annoying... The installer puts the assemblies in the Global Assembly Cache, but it doesn't put them anywhere else. The easiest way to get them is from the zip file on the IronRuby website
on 2012-08-12 22:19
I uninstalled 1.1.3, and installed 1.0. The tutorials do not work, as they require rake. However, the code I made (partly auto-generated from designer with #Develop) works fine. So, it's a SUCCESS. I looked at the install, and all the needed dependent libraries are installed, and required changes to %path%, so that those libraries can be installed.
on 2012-11-15 01:01
I am getting the same issue, but I installed IronRuby from the NuGet package. I'm attempting to upgrade the code from this: http://blogs.msdn.com/b/nblumhardt/archive/2008/12... I had gotten everything to compile and it got past initial engine load and assembly loading, but then I get that same message: Method not found: 'Microsoft.Scripting.Actions.Calls.OverloadInfo[] Microsoft.Scripting.Actions.Calls.ReflectionOverloadInfo.CreateArray(System.Reflection.MemberInfo[])'. Any other thoughts what it could be? The versions of those dlls mentioned above: IronRuby, IronRuby.Libraries : 1.1.3.0 Microsoft.Dynamic, Scripting, and MetaData: 1.1.0.20 Thank you, Josh
on 2012-11-29 17:21
Encountering the same issue here. I have references to : IronRuby.dll, IronRuby.Libraries.dll, Microsoft.Scripting.dll, Microsoft.Scripting.Metadata, Microsoft.Dynamic.dll. The top of my stack looks like : MissingMethodException: Method not found: 'Microsoft.Scripting.Actions.Calls.OverloadInfo[] Microsoft.Scripting.Actions.Calls.ReflectionOverloadInfo.CreateArray(System.Reflection.MemberInfo[])'.] IronRuby.Builtins.RubyClass.GetConstructors(Type type) +0 IronRuby.Builtins.RubyClass.BuildObjectConstructionNoFlow(MetaObjectBuilder metaBuilder, CallArguments args, String methodName) +1862 IronRuby.Builtins.RubyClass.BuildObjectConstruction(MetaObjectBuilder metaBuilder, CallArguments args, String methodName) +43 IronRuby.Runtime.Calls.RuleGenerators.InstanceConstructor(MetaObjectBuilder metaBuilder, CallArguments args, String name) +109 IronRuby.Runtime.Calls.RubyCustomMethodInfo.BuildCallNoFlow(MetaObjectBuilder metaBuilder, CallArguments args, String name) +59 IronRuby.Runtime.Calls.RubyMemberInfo.BuildCall(MetaObjectBuilder metaBuilder, CallArguments args, String name) +45 IronRuby.Runtime.Calls.RubyCallAction.BuildCall(MetaObjectBuilder metaBuilder, String methodName, CallArguments args, Boolean defaultFallback, Boolean callClrMethods) +422
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.