K, I've pushed. I guarantee it builds, but I pushed it before all the tests
finished since I have reasonable confidence in them. Looks good so far. I'll
re-push tomorrow if needed.
JD
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Devill
I tried to send this question earlier, but it did not appear to go through.
Shortly after I tried to send it the first time, the "Consuming DynamicObjects
in IronRuby" thread popped up. It seems likely that the two issues are related,
but as my situation is a bit different and results in a diffe
Yeah, between being sick and test changes, I haven't pushed in a while. I'll do
a push tonight and make sure the simple repro passes and ends up as a test.
From: Tomas Matousek
Sent: Tuesday, March 02, 2010 7:47 PM
To: ironruby-core@rubyforge.org
Subject: Re:
This works for me, so I guess the fix just isn't on GIT yet.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Robert Walker
Sent: Tuesday, March 02, 2010 6:52 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Consuming Dynami
A simple case appears to reproduce the problem:
using System;
namespace DynamicTest
{
public class N : System.Dynamic.DynamicObject
{
public N()
{
}
public override bool TryGetMember(System.Dynamic.GetMemberBinder
binder, out Object result)
{
Jim, have we pushed sources out recently? It might be that we haven't since I
made the change.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Robert Walker
Sent: Tuesday, March 02, 2010 6:30 PM
To: ironruby-core@rubyforge.org
Subject: R
I've tried it with a fresh set of source, and building the "V4 Debug" target in
VS2010. Same behaviour, but more detail in the output window:
A first chance exception of type 'System.InvalidOperationException' occurred in
Microsoft.Dynamic.dll
MT_INIT: Exception
UPDATED: Exception
It is a bug in DynamicObject for which I implemented a workaround in IronRuby
some time ago. So the build from latest sources should help.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville
Sent: Tuesday, March 02, 2010 2:05 PM
So after installing spec as a gem I can run it like this:
ir -S spec myfile.rb
So, the following will not work:
ispec myfile.rb
Jim Deville wrote:
> Once you install spec (ir -S gem install rspec), you should then be able
> to run it via ir -S spec
>
> JD
--
Posted via http://www.ruby-foru
Have you tried building Ruby directly? Get the sources from Github, then, from
the command line, run
c:\path\to\merlin\main\languages\ruby\scripts\dev.bat
rb
devenv ruby4.sln
Inside of VS build ruby4.sln then:
1) For basic testing, rbd will open a prompt for you to resume testing.
2)
Once you install spec (ir -S gem install rspec), you should then be able to run
it via ir -S spec
JD
-Original Message-
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Mohammad Azam
Sent: Tuesday, March 02, 2010 1:45 PM
To: ironruby-co
Unfortunately that is the one I'm using ...
The only thing I have down to the out-of-the-box download is run: corflags
/32bit- /force on ir.exe so that I can run it 64-bit (an underlying assembly I
use is x64 only)
I tried the same test using the latest IronPython bits and it works fine there.
try this one? http://ironruby.codeplex.com/releases/view/40175
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Mi
instead of copying you can now use
ir -S spec and ironruby knows which script to load
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http:/
(All work done with VS2010 RC and matching IronRuby build (v0.9.40, 07-Feb-10)).
I have a C# assembly that implements a dynamic object. When I try to use this
object from Ruby I get the error:
>>> r.StdUnitCost
System.Core:0:in `BindCore': unbound variable: Param_0 (TypeError)
from (ir):
I know in RC1 I had to manually copy the following files:
copy C:\ironruby\lib\ironruby\gems\bin\spec C:\ironruby\bin\ispec
copy C:\ironruby\lib\ironruby\gems\bin\spec.bat
C:\ironruby\bin\ispec.bat
But in RC2 do I have to take these steps or is it automatic?
Thanks,
Azam
--
Posted via http://ww
That all depends on how Gem checks the platform. If it uses the
RUBY_PLATFORM variable, then IronRuby needs to change what it reports here.
Currently, it reports i386-mswin32.
--
Will Green
http://hotgazpacho.org/
On Tue, Mar 2, 2010 at 1:07 PM, Jim Deville wrote:
> I believe JRuby is doing t
I believe JRuby is doing the 1st one, which makes sense in my opinion. If
possible we should prefer platform == “ironruby”, (or .net, do we need to
differentiate .net and mono?), but accept others.
JD
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Beh
This brings a question to mind - what should the general approach be for
porting existing gems to IronRuby? There could be two possible approaches:
1. Create a gem with the same name (“win32console” in this case), and
specify platform==”ironruby”. That way, dependent gems do not need to be
As it turns out it was the jeweler gem that was the culprit for those
Test::Unit::Errors.
After removing that more of my tests started to work again, so I tried
running the tests for mongomapper with ironruby.
result: 100% pass rate.
But it takes ironruby about 8x longer than it takes MRI (not th
docs have been updated already and I added a sqlite bit too.
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Mic
I released iron-term-ansicolor 0.0.3 last night after testing the gem
install locally first.
Please let me know if you still have trouble installing it from
Rubygems.org.
Also, I've submitted a patch to RSpec to use iron-term-ansicolor if it can,
the same way it tries to use win32console under MR
22 matches
Mail list logo