Re: [Ironruby-core] Code Review: Better error messages

2009-01-23 Thread Jim Deville
it "coerces string argument with Float() without calling singleton to_f" do s = MathSpecs.string_with_singleton_to_f("0.5", 0.5) Math.acos(s).should be_close(Math.acos(0.5), TOLERANCE) ScratchPad.recorded.should == nil # to_f should not be called end it "coerces string argume

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Tomas Matousek
This might be a problem with signing. Is your IronRuby assembly delay-signed? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi Sent: Friday, January 23, 2009 2:36 PM To: ironruby-core@rubyforge.or

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Jimmy Schementi
Oy, something's slightly messed up. The ir.exe.config file that is created is for a signed-version of ir.exe, but the DLR codeplex build produces unsigned binaries. We're going to be delay-signing everything, but I'm not sure why IPy is fine and IR isn't. Make your ir.exe.config file the follow

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Ben Hall
The mono build is the latest one available from their main website for OSX Pretty:~ Ben$ mono --version Mono JIT compiler version 2.2 (tarball Fri Jan 9 10:45:07 MST 2009) Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com TLS: normal GC:

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Jimmy Schementi
Mmm, the Air is nice =) which build of Mono is that? > -Original Message- > From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core- > boun...@rubyforge.org] On Behalf Of Ben Hall > Sent: Friday, January 23, 2009 2:32 PM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-co

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Ben Hall
I just tried 10216 release on my OSX (just brought a MacBook Air). IronPython works, however IronRuby throws the following exception: Pretty:Release Ben$ mono ir.exe Unhandled Exception: System.ArgumentException: Language name should not be null, empty or duplicated between languages Parameter na

Re: [Ironruby-core] Failure in library/ftools/makedirs_spec.rb

2009-01-23 Thread Jim Deville
FileUtils.rm_rf("target") is a platform independent way. It is also ok, because FileUtils is used by MSpec itself. It doesn't fail in SNAP because SNAP does a tfpt treeclean -delete between each run. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On B

[Ironruby-core] Failure in library/ftools/makedirs_spec.rb

2009-01-23 Thread Shri Borde
This test fails the second time I run it. I have to then manually delete the makedirs_test folder that is created. The test tries to do system("rmdir makedirs_test/second_dir"), but that fails since "/" is used. How come its not failing in Snap? What is a platform-independent way of deleting a f

Re: [Ironruby-core] Building IronRuby

2009-01-23 Thread Justin Bailey
Thanks for the hint - I am able to build from the command line. On Thu, Jan 22, 2009 at 5:30 PM, Jim Deville wrote: > Can you try command line? From Merlin\Main\Languages\Ruby, run "set > MERLIN_ROOT=Path\To\Merlin\Main", then run "rake compile". I will try to have > SpecSharp.targets moved in

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Jimmy Schementi
It's not a CI server, or does a build in mono. It runs on his Windows box in his office, and uploads the builds to Azure. http://devhawk.net/2009/01/07/Nightly+Builds+Technical+Info.aspx. So, Letterle ... keep doing what you're doing. =) But Foord is correct, that the builds should work in Mon

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Michael Letterle
Indeed, but it doesn't regression test building on mono (or under linux). Just wanted to confirm this wasn't happening since that's what I've been working on and don't want to duplicate efforts. On Fri, Jan 23, 2009 at 9:07 AM, Michael Foord wrote: > Michael Letterle wrote: > >> I assume this is

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Michael Foord
Michael Letterle wrote: I assume this is a Window/.NET build? :) Certainly as far as IronPython goes, binaries compiled on Windows work on Mono (modulo any Mono bugs). Michael On Fri, Jan 23, 2009 at 1:05 AM, Jimmy Schementi mailto:jimmy.scheme...@microsoft.com>> wrote: In case this

Re: [Ironruby-core] DLR Daily Builds (including IronRuby)

2009-01-23 Thread Michael Letterle
I assume this is a Window/.NET build? :) On Fri, Jan 23, 2009 at 1:05 AM, Jimmy Schementi < jimmy.scheme...@microsoft.com> wrote: > In case this is new to anyone … Harry Pierson recently built a > daily-build site for the IronPython and DLR Codeplex sites. Good news for > IronRuby is it's includ