Re: [Ironruby-core] Debugging rubyspecs

2009-02-26 Thread Pete Bacon Darwin
Yes, that would be a good idea; then .mspecrc or similar would have been loaded before ruby_exe gets called. I think they need to look at the implementation of resolve_ruby_exe in that class anyway as I don't think it looks at the :target option but I might be wrong. If that is true then you

Re: [Ironruby-core] Debugging rubyspecs

2009-02-26 Thread Jim Deville
I think it is currently by design that resolve_ruby_exe doesn't look at :target, but it would be a good heuristic to add. ENV['RUBY_EXE'] gets set to :target by mspec/lib/mspec/commands/mspec.rb, but it probably makes sense to move that into mspec/lib/mspec/utils/script.rb so it gets called by

Re: [Ironruby-core] Code Review: numeric types

2009-02-26 Thread Tomas Matousek
Looks good. Tomas -Original Message- From: Shri Borde Sent: Thursday, February 26, 2009 11:55 AM To: IronRuby External Code Reviewers Cc: ironruby-core@rubyforge.org Subject: Code Review: numeric types tfpt review /shelveset:num;REDMOND\sborde Comment : Fixnum + Bignum should

Re: [Ironruby-core] Getting started in VB?

2009-02-26 Thread Mr X enterprises
Sorry, I have another problem: engine.Operations.CreateInstance(rubyClass) It is saying that CreateInstance is not a member of Microsoft.Scripting.Hosting.ObjectOperations. There are Create() and CreateObjRef() functions. Any help? Thanks. :) -- Posted via http://www.ruby-forum.com/.

[Ironruby-core] Regression ? Invalid IL code in (wrapper dynamic-method)

2009-02-26 Thread Thibaut Barrère
Hi again, I'm using Mono 2.4 to run the binaries at http://nightlybuilds.cloudapp.net/rss.ashx?project=dlr(DLR.x.release.zip) - (not sure if it supposed to work, but it did until today). Everything I tried worked fine with DLR.10606.release.zip. Switching to the latest DLR.12211.release.zip

Re: [Ironruby-core] A tiny DSL to build Windows::Forms menus from IronRuby - review wanted

2009-02-26 Thread Jim Deville
I think it looks very nice. It's a shame that you have to resort to direct lambda's since you can't pass two lambda's in, but otherwise it's a nice visual representation of the menu, in code. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf

Re: [Ironruby-core] Getting started in VB?

2009-02-26 Thread Tomas Matousek
Do you have the latest build? See http://nightlybuilds.cloudapp.net/Project.aspx?project=dlr Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mr X enterprises Sent: Thursday, February 26, 2009 2:18 PM To:

Re: [Ironruby-core] Getting started in VB?

2009-02-26 Thread Mr X Enterprises
I got the newest build. It said use Invoke() instead of Call(), so I used Invoke(). I get and exception for: engine.Operations.Call(rubyMethod, params) saying: wrong number of arguments (1 for 2) Thanks for all of your help. :) -- Posted via http://www.ruby-forum.com/.

Re: [Ironruby-core] Getting started in VB?

2009-02-26 Thread Jimmy Schementi
What does params contain? If I recall, the method you're calling requires two parameters ... From: ironruby-core-boun...@rubyforge.org [ironruby-core-boun...@rubyforge.org] On Behalf Of Mr X Enterprises [li...@ruby-forum.com] Sent: Thursday, February 26,

Re: [Ironruby-core] Getting started in VB?

2009-02-26 Thread Mr X Enterprises
Dim params() As Integer = {1, 2} -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core

Re: [Ironruby-core] Regression ? Invalid IL code in (wrapper dynamic-method)

2009-02-26 Thread Ivan Porto Carrero
I can confirm this but from git. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero GSM: +32.486.787.582 Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim On Thu, Feb 26, 2009 at 11:41 PM, Thibaut Barrère thibaut.barr...@gmail.com wrote: Hi again,

Re: [Ironruby-core] Regression ? Invalid IL code in (wrapper dynamic-method)

2009-02-26 Thread Jim Deville
Can anyone confirm if this is only a Mono problem? Also, what platform x86 or x64 (doubt it makes a difference, but I want to be certain)? I can’t repro on .NET. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ivan Porto Carrero Sent: