I actually meant the opposite, make sure people don't try to load macruby only gems to use with YARV or JRuby.
I guess it doesn't matter that much, and I can always use your suggested trick to fail loading the gem if someone isn't on macruby. Thanks, - Matt On Mon, Mar 9, 2009 at 5:56 PM, Brian Chapados <cha...@gmail.com> wrote: > If we just need a way to check that we are on MacRuby before loading, > we could check that: > > Object.name == "NSObject" > > Brian > > On Mon, Mar 9, 2009 at 5:43 PM, Matt Aimonetti <mattaimone...@gmail.com> > wrote: > > Nic, > > > > Any suggestions to deal with macruby only gems? I don't think macruby > can > > be considered a platform so any suggestions? > > > > - Matt > > > > On Mon, Mar 9, 2009 at 5:15 PM, Dr Nic Williams <drnicwilli...@gmail.com > > > > wrote: > >> > >> On Tue, Mar 10, 2009 at 5:32 AM, Matt Aimonetti < > mattaimone...@gmail.com> > >> wrote: > >> > Sorry Rich, but I personally only target intel processors. I don't > think > >> > MacRuby will ever officially support non-intel machines. > >> > >> You never know when Steve Jobs will get up on stage and excitedly tell > >> the Faithful that the next generation Macs will be on XYZ processor > >> (because he got a better profit margin from them). > >> > >> Processor type isn't sacred afaik. > >> > >> Nic > >> > >> -- > >> Dr Nic Williams > >> iPhone and Rails consultants - http://mocra.com > >> Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com > >> * Surf Report for iPhone - http://mocra.com/projects/surfreport/ * > >> _______________________________________________ > >> MacRuby-devel mailing list > >> MacRuby-devel@lists.macosforge.org > >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > > > _______________________________________________ > > MacRuby-devel mailing list > > MacRuby-devel@lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > > > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel >
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel