This actually makes my problem worse! Now there is no way of catching the
times when I accidentally return a CLR string rather than a MutableString.
It will only flag up when client code tries to call a MutableString method
on the CLR string.
Pete
-Original Message-
From: [EMAIL PROTECTED
Sorry, didn't mean to send yet
I am having the same behavior running from c:\ironruby
I think that calling ruby.exe spec_runner.rb is returning the number
of failures as the return code and that is causing the
problemthat's the only thing I can think of the 99 coming from
anyway.
On Thu,
I do get the same results if I run this from c:\ironruby.
On Thu, May 8, 2008 at 11:20 AM, John Lam (IRONRUBY)
<[EMAIL PROTECTED]> wrote:
> Chris Ortman:
>
>> Q:\ironruby>rake rspec
>> (in Q:/ironruby)
>> ./chdir_spec.rb:19: warning: conflicting chdir during another chdir
>> block
>> ...
>> 499 e
ok looks like you need the gem pathname2
sudo gem install pathname2 (might be pathname my memory fails me)
On 9/05/2008, at 3:20 PM, Robert Bazinet wrote:
Ivan, I wanted to see if you were paying attention..yes, what I sent
over shows the command from the WRONG directory. I was in that
d
Ivan, I wanted to see if you were paying attention..yes, what I sent over
shows the command from the WRONG directory. I was in that directory and
just used the command history to run the command so I could send it over to
the group. The command is failing and I am sending the right one now. You
This happens to me sometimes but isn't related to ironruby in my case.
if you do ls Rake* does something show up? Rake is complaining about
the fact that it can't find its instruction set (Rakefile). From the
output I see, it doesn't even start to build
I merely suggested navigating to th
Yes, the source is on my home drive in a subdir named IronRuby, and yes, I
navigated to the folder.
Thanks.
-Rob
On Thu, May 8, 2008 at 10:54 PM, Ivan Porto Carrero <[EMAIL PROTECTED]>
wrote:
> Did you download the sources into your home drive. It looks like you need
> to navigate into the fol
Did you download the sources into your home drive. It looks like you
need to navigate into the folder where you downloaded the ironruby
source and then call rake :)
On 9/05/2008, at 2:09 PM, Robert Bazinet wrote:
I am attempting to build r100 on Mono on my Mac and getting an error
I have
I am attempting to build r100 on Mono on my Mac and getting an error I have
not seen before. I have followed the instructions and used the provided
patch. Here is what I get:
rbazinet: ~$ rake --trace compile mono=1
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Thanks, forgot about that one.
Tomas
-Original Message-
From: Dino Viehland
Sent: Thursday, May 08, 2008 5:12 PM
To: ironruby-core@rubyforge.org; IronRuby External Code Reviewers
Subject: RE: Code Review: Reflection
I think you also need to check for ci.IsFamilyAndAssembly in
RubyTypeBu
I think you also need to check for ci.IsFamilyAndAssembly in
RubyTypeBuilder.MakeClass (when checking for private) but otherwise it looks
good.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tomas Matousek
Sent: Thursday, May 08, 2008 11:57 AM
To: IronR
Hi john,
I implemented both basename and file as well. But I will build a patch without
those two in it after getting your update.
Thanks.
On May 8, 2008, at 3:37 PM, "John Lam (IRONRUBY)" <[EMAIL PROTECTED]> wrote:
tfpt review /shelveset:bugfixes-7;REDMOND\jflam
Ruby only
This shelveset
Yeah, add some custom DNS servers and use a real DNS management tool ;)
Seriously though, click on the domain, click on the "Total DNS Control and
MX Records"
Look at the A record, make sure the A record points to the same host as the
CNAME record for 'www' (or both A records if there's two).
Us
I'm trying to make http://ironruby.net take you to the same page as
http://www.ironruby.net, but in the meantime both might be broken. If so, just
go to http://ironruby.rubyforge.org.
PS. Anyone know how to do this on GoDaddy? Extremely confusing!
~js
___
I will do that.
Thanks.
- Original Message
From: John Lam (IRONRUBY) <[EMAIL PROTECTED]>
To: "ironruby-core@rubyforge.org"
Sent: Thursday, May 8, 2008 3:17:46 PM
Subject: Re: [Ironruby-core] TDD in coding!
Unnikrishnan Nair:
> Thanks, How do I go about sending the code changes I made?
Unnikrishnan Nair:
> Thanks, How do I go about sending the code changes I made? I would
> like to submit a small changes first and get the feedback and then I
> can go full blown development. I just finished 10 functions that
> passed my full test.
Please generate a patch and submit to Rubyforge:
tfpt review /shelveset:Reflection;REDMOND\tomat
Removes singleton classes from Module#ancestors return value to match MRI.
Implements Kernel#extend, Kernel#singleton_methods, Module#extended and
Module#extend_object.
Fixes [#20002] singleton_methods not implemented.
Fixes [#19972] Module::module
Thanks, How do I go about sending the code changes I made? I would like to
submit a small changes first and get the feedback and then I can go full blown
development. I just finished 10 functions that passed my full test.
Thanks.
- Original Message
From: John Lam (IRONRUBY) <[EMAIL PRO
Chris Ortman:
> Q:\ironruby>rake rspec
> (in Q:/ironruby)
> ./chdir_spec.rb:19: warning: conflicting chdir during another chdir
> block
> ...
> 499 examples, 99 failures
> rake aborted!
> Command failed with status (99): ["ruby.exe" spec_runner.rb - -
> summary...] Q:/ironruby/rakefile:234:in `inv
Peter Bacon Darwin:
> I keep forgetting to wrap up CLR strings in MutableStrings when
> returning strings retrieved from calls to .NET Framework library
> methods.
I finally understand what this is ... is this what you're looking for?
public override bool Equals(object other) {
Unnikrishnan Nair:
> Are we developing the code in TDD style with CI? Currently all the
> methods I have added, I have a seperate ruby code which runs test
> against to verify my results. I would like to know are we adding the
> tests build into the code itself? Sorry, I didn't see the test cases,
Are we developing the code in TDD style with CI? Currently all the methods I
have added, I have a seperate ruby code which runs test against to verify my
results. I would like to know are we adding the tests build into the code
itself? Sorry, I didn't see the test cases, thats why I asked.
Than
Is anyone using windows server 2008 for ruby / ironruby?
I am trying to run rake rspec and get an error when it gets to the summary:
Q:\ironruby>rake rspec
(in Q:/ironruby)
./chdir_spec.rb:19: warning: conflicting chdir during another chdir block
./chdir_spec.rb:10: warning: conflicting chdir dur
Robert Brotherus:
> At least I hope so since that would get rid of my code of extensive
> to_s calls from parameters / values coming from C# :-) Robert
> Brotherus Software architect Napa Ltd
Yes - your to_s hacks should go away :)
Thanks,
-John
___
I
Peter Bacon Darwin:
> I understand that Tomas is working on a version of MutableString that
> has a hybrid internal organisation to enable easy cooperation with CLR
> strings while maintaining compatibility with Ruby strings (hopefully
> without losing out in performance).
Yes- Tomas is working o
My goal was mostly to hack around and try and get it working with the
assumption that you guys would do it the right way sometime after Railsconf
and I would throw my hack out.
I'll dig around in the Binder to see if I can uncover anything.
Thanks,
Steve
On Thu, May 8, 2008 at 11:22 AM, John Lam
Steve Eichert:
> This issue has been reported on Rubyforge (bug #20033).
Thanks!
> Can you point me in the general direction of where things would need
> to change in order to get this to work so I can hack around a bit?
The high order bit here is that we're not delegating to the default DLR bi
This issue has been reported on Rubyforge (bug #20033).
Can you point me in the general direction of where things would need to
change in order to get this to work so I can hack around a bit?
Cheers,
Steve
On Thu, May 8, 2008 at 9:56 AM, John Lam (IRONRUBY) <[EMAIL PROTECTED]>
wrote:
> Steve Ei
Steve Eichert:
> IronRuby seems to be having a problem resolving a generic type when a
> non generic type with the same name exists. The specific example that
> I discovered the bug with is when trying to using Moq [1].
>
> describe "some class with a mock" do
> it "should use the mock" do
>
IronRuby seems to be having a problem resolving a generic type when a non
generic type with the same name exists. The specific example that I
discovered the bug with is when trying to using Moq [1].
describe "some class with a mock" do
it "should use the mock" do
mock = Mock.of(IMyMock).new
The trouble is that MutableStrings and CLR Strings are (going to be, if not
already) quite different creatures. For a start the CLR string is always
UTF-16, while the MutableString is basically just an array of bytes, which
can be interpreted in different ways depending on the K-Code you are using
I wasn't a fan of all the calls to to_s either so I put together a small
patch (which undoubtedly is nothing like what the actual fix is going to be)
to relieve my pains. The bug I submitted along with a patch I made locally
can be found at:
http://rubyforge.org/tracker/?func=detail&aid=19873&gro
I would guess that IR-teams plan is to implement auto-wrapping of
strings coming from DotNet as MutableStrings?
At least I hope so since that would get rid of my code of extensive to_s
calls from parameters / values coming from C# :-)
Robert Brotherus
Software architect
Napa Ltd
_
F
I keep forgetting to wrap up CLR strings in MutableStrings when returning
strings retrieved from calls to .NET Framework library methods.
I had this RSpec that had something like:
some_array[3].should == "some mutable string"
that was failing with the error:
Expected "some mutable s
Thanks for the quick patch Tomas, works fine!
I found it even more useful when I changed the DebuggerBrowsableState of
the values to Collapsed (was Never) in RubyScope.cs. With this I can
expand and see values of ruby-arrays (otherwise the debugger just shows
for arrays "{Ruby.Builtins.RubyArray}"
35 matches
Mail list logo