I've just installed the latest MacRuby beta binaries on my new macbook, and
this happens:
Jeremy-Voorhiss-MacBook-Pro:~ jvoorhis$ cat test.rb
require 'hotcocoa'
include HotCocoa
application do |app|
win = window :size => [100,50]
b = button :title => 'Hello'
b.on_action { puts 'World!' }
w
#514: Singleton + Inheritance causes ArgumentError
+---
Reporter: lastobe...@…| Owner: lsansone...@…
Type: defect | Status: new
Priority: major
#477: Need GCD wrapper for dispatch_once
+---
Reporter: ernest.prabha...@… | Owner: lsansone...@…
Type: enhancement | Status: new
Priority: minor
#514: Singleton + Inheritance causes ArgumentError
+---
Reporter: lastobe...@…| Owner: lsansone...@…
Type: defect | Status: new
Priority: major
#477: Need GCD wrapper for dispatch_once
+---
Reporter: ernest.prabha...@… | Owner: lsansone...@…
Type: enhancement | Status: new
Priority: minor
#477: Need GCD wrapper for dispatch_once
+---
Reporter: ernest.prabha...@… | Owner: lsansone...@…
Type: enhancement | Status: new
Priority: minor
Hi Laurent,
Much nicer. I'm still a bit confused with what you're doing with the first
USAGE paragraph , though:
> USAGE
> The easiest way to compile an existing project is probably to generate
> loadable object bundles for every Ruby source file, using the -C option.
> These bundle
I use defined? MACRUBY_VERSION, myself. A bit shorter ;)
On Fri, Dec 18, 2009 at 3:34 PM, Josh Ballanco wrote:
> Whoops...that's what I get for replying with untested code...
>
>
> On Dec 18, 2009, at 12:14 PM, Paul Howson wrote:
>
> > On 17/12/2009, at 6:21 PM, Josh Ballanco wrote:
> >
> >> def
Hi Scott,
On Dec 18, 2009, at 2:33 PM, Laurent Sansonetti wrote:
> I'm not a DTrace expert but in my experience, dtrace takes a short time to
> attach to a given process, and if the process exists prematurely it won't
> work. I'm not aware of any way to work around that, except by patching the
Scott,
I have not had any trouble running macruby through dtrace here, can you send
the contents of your dtrace script so that I can compare to my working files?
Jordan
On Dec 18, 2009, at 16:33, Laurent Sansonetti wrote:
> Hi Scott,
>
> I'm not a DTrace expert but in my experience, dtrace ta
Bonjour Julien,
On Dec 18, 2009, at 4:54 AM, Julien Jassaud wrote:
Hello to everyone,
I tried to port two OpenGL sample code examples from the ADC in
MacRuby ( and plan to port some more ). You can find both projects
here : http://github.com/sojastar
Awesome! I would love to ship these a
Hi Scott,
I'm not a DTrace expert but in my experience, dtrace takes a short
time to attach to a given process, and if the process exists
prematurely it won't work. I'm not aware of any way to work around
that, except by patching the process to make it wait a bit more, as
you did.
This
Thanks all very much for the feedback :-) I merged I believe
everything in r3132. Ernie: about the examples section, I agree it
needs more work. For the moment I just renamed it USAGE which seems to
fit better.
Following is the new ASCII formatted version. Let me know if you have
feedback
Whoops...that's what I get for replying with untested code...
On Dec 18, 2009, at 12:14 PM, Paul Howson wrote:
> On 17/12/2009, at 6:21 PM, Josh Ballanco wrote:
>
>> def is_macruby?
>> defined? RUBY_ENGINE && RUBY_ENGINE == 'macruby'
>> end
>>
>> Cheers,
>> Josh
>
> Thanks Josh. However I not
>
> i.e. the argument to defined? must be put in parentheses else MacRuby
> crashes.
>
Only because && binds more tightly than method application.
It would be nice if some of this code found its way into the Platform gem,
or similar. I've found myself writing Kernel#macruby? in libraries a couple
On 17/12/2009, at 6:21 PM, Josh Ballanco wrote:
> def is_macruby?
> defined? RUBY_ENGINE && RUBY_ENGINE == 'macruby'
> end
>
> Cheers,
> Josh
Thanks Josh. However I note this works only if you write:
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby'
i.e. the argument to defined? must be put i
Minor typos: (adjustments in bold)
-C Compile, assemble and link a loadable object file. This option pro-
duces a Mach-O MacRuby loadable object bundle (.rbo) for every
Ruby
source file passed to* rubyc* using a default file
rubyc is also able to generate a dynamic library
Hello to everyone,
I tried to port two OpenGL sample code examples from the ADC in MacRuby ( and
plan to port some more ). You can find both projects here :
http://github.com/sojastar
Both kind of work but have problems I can't find solutions to so I turn to the
list for a little help.
One o
18 matches
Mail list logo