#333: Class initialize method is not called
---+
Reporter: ehy...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: minor
On Thu, Sep 10, 2009 at 11:24 AM, Matt Aimonetti wrote:
> Latest trunk code available as an unofficial pkg ready to install:
> http://rubyurl.com/5K3W
>
> Lots of bug fixes, improved macgem (not finished yet but you can install
> gems and load them using `gem 'gem_name'; require 'whatever'`).
> Th
You should always use macgem when working with macruby.
However, Sinatra isn't running yet as erb isn't fully working neither rack
and we don't have a compatible webserver ;)
You will have to wait a little before that works, but as we are going
through the std libs, things should start looking bet
Is there a page where can locate what's not working? Or open projects that
need help? I would be interested in both erb and the webserver (i.e.
webrick, mongrel, and/or thin)?
Thanks in advance,
-Conrad
On Tue, Sep 15, 2009 at 4:02 PM, Matt Aimonetti wrote:
> You should always use macgem when
Hi,
I'm playing with the new block syntax of objc recently. I tried to
call a ruby block from an objc block-ish methods but failed. The code
snippet:
@implementation BlockTest
...
-(void)testBlock:(void^(int i))block
{
block(self.x);
}
...
@end;
MacRuby codes:
b.testBlock do |x|
puts
Unfortunately, we don't have a check list of all the std libs and other gems
that are compatible/incompatible.
The todo list mentions the following:
Planned for 0.5
[ ] fix irb Binding bugs
[/] sockets
[ ] backtracing / symbolication
[/] rubygems should work (modulo C extensions)
[X] fix versio
Hi Steve,
Do you run by any chance a 32-bit computer? This could explain the
problem, MacRuby trunk doesn't currently run on 32-bit machines. This
will be solved for the upcoming release.
Laurent
On Sep 13, 2009, at 3:39 PM, s.ross wrote:
Not sure whether this is the right way to report t
Hi Linan,
This is currently not implemented. It is not planned for the upcoming
release mostly because I don't think it's that important, since all
block methods in Cocoa also have methods dealing with function
pointers, which will be supported.
If you have any need for such a feature we
Hi Laurent,
Thanks for the reply.
I'm just playing with new functions, not on a project. It is not a
highly demanded feature. I really appreciate your kind gesture.
I wonder if there is any quick work around, e.g. put some macruby
related codes into the objc codes so that ruby blocks can be in
Technically, a Ruby block is an Objective-C object of the Proc class,
so you can simply pass the block to an Objective-C method that
receives an "id" argument, then from that method you can send the -
call: message on it, preferably using -performRubySelector: (look at
the MacRuby.h header f
I'm trying to get a project that ran on MacRuby 0.4 and Leopard
working with 0.5 on Snow Leopard. When I launch the app I get the
following errors:
2009-09-15 20:08:08.954 TwittRb[87043:a0b] Unknown class
'TwittRbDelegate', using 'NSObject' instead. Encountered in Interface
Builder file a
I think you got it. It's a MBP Core Duo 2.16, which means 32-bit,
right? I'll be looking forward to the release that supports this.
Which brings up an interesting question: How do you now develop an
app that targets multiple architectures?
[Side note: I reported this as a problem with the
12 matches
Mail list logo