Re: [Ironruby-core] Use of case operator

2009-07-10 Thread Pete Bacon Darwin
That's OK because in Ruby 0 is true! (Only nil and false are false) From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of cdur...@tsys.com Sent: 10 July 2009 16:21 To: ironruby-core@rubyforge.org Cc: ironruby-core@rubyforge.org; ironruby-core-boun.

Re: [Ironruby-core] Updated dev instructions at http://wiki.github.com/ironruby/ironruby

2009-03-23 Thread Pete Bacon Darwin
The debugging mspec bits look great! Much clearer than my waffle. Pete From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Shri Borde Sent: Monday,23 March 23, 2009 04:57 To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Updated dev instr

Re: [Ironruby-core] Comparing CLR strings and Ruby strings - a slightly surprising behaviour

2009-03-06 Thread Pete Bacon Darwin
Original Message- > From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core- > boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin > Sent: Thursday, March 05, 2009 1:22 PM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Comparing CLR strings and Ruby strin

Re: [Ironruby-core] Comparing CLR strings and Ruby strings - a slightly surprising behaviour

2009-03-05 Thread Pete Bacon Darwin
How about back ticks? `Some string`? Since ruby can have single quote string literals it might not be that obvious that 'Some string' it is not a normal Ruby string. Pete -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf O

Re: [Ironruby-core] Debugging rubyspecs

2009-02-26 Thread Pete Bacon Darwin
ll look into it. JD From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Wednesday, February 25, 2009 11:52 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs OK so I am running a recent

Re: [Ironruby-core] Debugging rubyspecs

2009-02-25 Thread Pete Bacon Darwin
t easier to run mspec by adding a .mspecrc file and some other utility commands. Lets see if that clears this up. From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Wednesday, February 25, 2009 8:31 PM To: ironruby-cor

Re: [Ironruby-core] Debugging rubyspecs

2009-02-25 Thread Pete Bacon Darwin
o:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Tuesday, February 24, 2009 3:11 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs OK, this is what I mean. I save the following file (attached also) as Merlin/Main/Languages/Ruby

Re: [Ironruby-core] Debugging rubyspecs

2009-02-24 Thread Pete Bacon Darwin
OK, this is what I mean. I save the following file (attached also) as Merlin/Main/Languages/Ruby/mspec-debug.rb: RUBY_EXE = 'd:/dev/ruby/ironruby/current/Merlin/Main/Bin/debug/ir.exe' $:.unshift 'd:/dev/ruby/mspec/lib' require 'mspec/commands/mspec-run' require 'mspec' class MSpec

Re: [Ironruby-core] Debugging rubyspecs

2009-02-23 Thread Pete Bacon Darwin
byforge.org] On Behalf Of Pete Bacon Darwin Sent: Monday, February 23, 2009 12:34 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs Sadly I don't think that mspec-run looks at the standard command line options for specifying the target implementation. I

Re: [Ironruby-core] Debugging rubyspecs

2009-02-23 Thread Pete Bacon Darwin
To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs That is a comprehensive description! Its unfortunate it has to be as complex. Ideally, mspec-run will take all arguments (like the ruby executable) on the command line which will increase discoverability. But fo

Re: [Ironruby-core] Debugging rubyspecs

2009-02-23 Thread Pete Bacon Darwin
the same issues? From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Sunday, February 22, 2009 1:29 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs OK so I worked it out. Mspec-run does

Re: [Ironruby-core] Debugging rubyspecs

2009-02-22 Thread Pete Bacon Darwin
ge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Thursday, February 19, 2009 6:21 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Debugging rubyspecs Hi Shri and Jimmy, Thanks for the suggestions. What version of mspec are you runnin

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Pete Bacon Darwin
I am still having problems with this... D:\dev\ruby\ironruby\current\Merlin\Main> D:\dev\ruby\ironruby\current\Merlin\Main\bin\debug\ir.exe -v -X:Interpret d:/dev/ruby/mspec/bin/mspec-run -e "caches" -fs -V -B "c:/Documents and Settings/pete/default.mspec" d:/dev/ruby/rubyspec/lang uage/regexp

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Pete Bacon Darwin
o you have to jump up a couple CLR frames to get to the line directly after the "debugger" call, and I'm not sure of a way how to do that automatically. Anyway, this works great. ~js From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On

Re: [Ironruby-core] Debugging rubyspecs

2009-02-18 Thread Pete Bacon Darwin
The easiest way it appears is to stick a pause in the rubyspec of interest and attach to the process while it is waiting. It does totally kill the computer performance while you are debugging (like minutes to step through each line!) Pete From: Pete Bacon Darwin [mailto:bacondar

[Ironruby-core] Debugging rubyspecs

2009-02-18 Thread Pete Bacon Darwin
Anybody know how to run rubyspecs under the Visual Studio debugger? If I just set the rubyspec file as the command line argument in the debug properties in VS then it just asks me to install mspec as a gem. Pete ___ Ironruby-core mailing list Ironruby-

Re: [Ironruby-core] Incorrect library paths in App.Config

2009-02-15 Thread Pete Bacon Darwin
r Mono? Tomas From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Friday, February 13, 2009 6:13 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Incorrect library paths in App.Config Hi, I just noticed that the A

Re: [Ironruby-core] Incorrect library paths in App.Config

2009-02-13 Thread Pete Bacon Darwin
s From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Friday, February 13, 2009 6:13 AM To: ironruby-core@rubyforge.org Subject: [Ironruby-core] Incorrect library paths in App.Config Hi, I just noticed that the App.C

Re: [Ironruby-core] Throwing Exceptions defined in Ruby from C#

2009-02-13 Thread Pete Bacon Darwin
Could you not achieve the wanted effect through a kind of monkey patching? I.E. Create the exception class in C# then redeclare it in the common.rb. The new class in Ruby would extend the one created in C# but wouldn't change anything if the C# one was there in the first place. If it was there, i.

[Ironruby-core] Incorrect library paths in App.Config

2009-02-13 Thread Pete Bacon Darwin
Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require 'fileutils'. Currently (Git commit 6855c7c41ee2...) has the following in Merlin/Main/C

Re: [Ironruby-core] IronRuby with Asp.Net MVC is possible or not...?

2009-01-28 Thread Pete Bacon Darwin
I would be fascinated to see some of the sites you are working on at the moment, Web Reservoir. Perhaps this would help in defining the direction that IronRuby takes going forward. Keep up the good work IR team! Pete ___ Ironruby-core mailing list Ironr

Re: [Ironruby-core] Git changes

2009-01-11 Thread Pete Bacon Darwin
Oops sorry. -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville Sent: Saturday,10 January 10, 2009 19:53 To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Git changes Pete, Do you have MERLIN_ROOT s

Re: [Ironruby-core] Git changes

2009-01-10 Thread Pete Bacon Darwin
Just in case anyone is getting stuck with this too: - You need rake 0.8.3 to compile IronRuby. (It doesn't like the parameterized tasks in git.rake with 0.8.1.) - Also gems.rubyforge.org is no longer compatible with gem 1.1 so you have to manually upgrade gem before you can do gem update rake. Phe

Re: [Ironruby-core] New revisions

2008-12-06 Thread Pete Bacon Darwin
By the way, what is going on with the duplicate file names in Git? ironruby/merlin/main/ contains the following: App.config Languages/ Runtime/ Utilities/ langu

Re: [Ironruby-core] New revisions

2008-12-06 Thread Pete Bacon Darwin
No change when using sn.exe with either -Vr or -Vu. Pete From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Deville Sent: Saturday,06 December 06, 2008 21:15 To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] New revisions I think the git repo still has delay sign

Re: [Ironruby-core] New revisions

2008-12-06 Thread Pete Bacon Darwin
On Win XP Pro SP3: I can get the rake compile to work but can't run ir.exe since it is having problems finding the Microsoft.Scripting assembly. Is this an assembly signing problem? The strong name of Microsoft.Scripting.dll that is built by "rake compile" is: Microsoft.Scripting, Version=1.0.0.5