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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120805/0834b998/attachment.html>
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/.
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 at ruby-forum.com> To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Problems with 1.1.3 Message-ID: <71efcc4953fc59eb694b0dadd791c5bc at 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 at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core End of Ironruby-core Digest, Vol 58, Issue 1 ******************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120811/751545b4/attachment.html>
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 11/08/2012, at 9:11 PM, Joaquin Menchaca <darknerd2k at yahoo.com> wrote:> 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 at ruby-forum.com> > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Problems with 1.1.3 > Message-ID: <71efcc4953fc59eb694b0dadd791c5bc at 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 at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > End of Ironruby-core Digest, Vol 58, Issue 1 > ******************************************** > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120811/e9733420/attachment.html>
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20120812/c7126de0/attachment.html>
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/09/hosting-ruby-parts-in-mef.aspx 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 -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.