Forum: IronRuby Problems with 1.1.3

D330d201c5bba7a1202f61a42a10a2db?d=identicon&s=25 Joaquin Menchaca (Guest)
on 2012-08-05 23:42
(Received via mailing list)
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
382c3ae328b21e529ea0f5ddb1514abc?d=identicon&s=25 Alexander Ranger (strider_ajr)
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.
D330d201c5bba7a1202f61a42a10a2db?d=identicon&s=25 Joaquin Menchaca (Guest)
on 2012-08-12 04:26
(Received via mailing list)
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
********************************************
3a9ff49a9e689dcbfc8242f05180cc31?d=identicon&s=25 Orion Edwards (Guest)
on 2012-08-12 05:32
(Received via mailing list)
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
D330d201c5bba7a1202f61a42a10a2db?d=identicon&s=25 Joaquin Menchaca (Guest)
on 2012-08-12 22:19
(Received via mailing list)
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.
0eace1d122643eadf349eae87a3b2ce1?d=identicon&s=25 Josh Gough (joshgough)
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
Fe2e272881aac6b690dd44b665c246e4?d=identicon&s=25 j.barrett s. (jbarrett_s)
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
0dfbedd53c3223f107bc8d53a413f352?d=identicon&s=25 Lee-Roy A. (leeroy_a)
on 2014-05-09 15:50
I tried a couple of these suggestions however on my machine I have for
some reason 2 instances of IronRuby installed which seems to have
conflicted with what was referenced by the app that I was running even
through the correct .dll's where in the bin. Uninstalling all instances
and running solved my issues as the bin had what was needed.
Ba8cfcd2e4847fcc15f10f1fe25faa2e?d=identicon&s=25 Jeff Siebold (noonknight)
on 2014-08-22 17:28
I recently installed IronPython for the first time (2.7.5 Beta 2
Installer version). After that I started getting the "System.Core:0:in
`BindCore': Method not found..." error. I uninstalled both IronPython
and IronRuby 1.1.3, reinstalled IronRuby 1.0, uninstalled IronRuby 1.0,
reinstalled 1.1.3. Then it started working. Glad it's fixed.
This topic is locked and can not be replied to.