Thank you Laurent,
Adding framework 'Foundation' has fixed the problem.
I must also apologise for putting 0.9 in the original title (a mistype) - of
course I am using 0.8
best wishes, Jonathan
On 13 Feb 2011, at 23:46, Laurent Sansonetti wrote:
> Hi Jonathan,
>
> Your snippet does not requ
Thank you Alan,
I was obviously having a really bad day for mistyping and word blindness...
best wishes, Jonathan
regards, Jonathan
Jonathan T Waddilove
email: jonat...@waddilove.net
web: jonathan.waddilove.net
On 13 Feb 2011, at 19:52, Alan Skipp wrote:
> I think you've just managed to ge
Hello everyone,
I've been doing some research into weak references in ruby and from what I've
read it seems that Ruby's WeakRef implementation is both inefficient and
unsafe. Here is the thread discussing the matter:
http://redmine.ruby-lang.org/issues/show/4168
As Macruby has a different garbag
Has there been any progress with this ticket?
http://www.macruby.org/trac/ticket/1126
Thanks, Joel
--
- mac osx device driver ninja, kernel extensions and user-land usb drivers
-++
Hi Alan,
MacRuby should have the same problem. ObjectSpace._id2ref in MacRuby basically
maps an object pointer value to a numerical description, and the GC recycles
objects.
I am curious why you need weak references, though. MacRuby is able to detect
and deal with reference cycles, so you sho
On Feb 13, 2011, at 05:56 , Gabriel Ayuso wrote:
> I reinstalled the minitest and mocha gems to the following versions:
> minitest-2.0.2, mocha-0.9.12
> The same issue I described before occurred once again.
>
> Here's the code I ran on macirb and the result:
>
> require 'rubygems'#=> tru
On Feb 14, 2011, at 15:23 , Ryan Davis wrote:
> The test only fails on macruby and with mocha. I'll file a ticket.
https://www.macruby.org/trac/ticket/1161
___
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/m
here is the workaround:
require "rubygems"
require "isolate"
Isolate.now! :system => false do
gem "minitest"
gem "mocha"
end
class Module
def remove_method x
# do nothing
end
end if defined?(RUBY_ENGINE) and RUBY_ENGINE == "macruby"
gem "minitest"
require "minitest/autorun"
require