2009-09-01ãã1ã¶æéã®è¨äºä¸è¦§
ãããã¾ããã¨Ruby ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«å·æ°è¨ç»ã§é å¸ããã¦ããããªãã¡ã¬ã³ã¹ã¨ãã¼ã«ã®éè¯Portfileãææ°ã®20090929ã«æ´æ°ãã¾ããã http://svn.sourceforge.jp/svnroot/macports-jp/trunk/dports/ruby/rb-rurima-ja/
ãã¾ããã0.19.3ã¯Macã§ã¯é¢ä¿ãªããããªã®ã§ãåé¡ãè¦ã¤ãããªããããæ´æ°ãã¾ãããSnow Leopardã§ã¯ä»ã®ã¨ãããx86_64ã§éx11ï¼no_x11ï¼ã®pangoã«åé¡ãããããã§ãæåãã¡ããã¨æç»ãããªãããã§ããç§ã®æå ã§ãrabbitã§ç¢ºèªãã¾ãããã注æãâ¦
Snow Leopardã«ã¯RubyCocoaã®ããã¸ã§ã¯ããã³ãã¬ã¼ãããªããããã®ã§ããd:id:kouji0625:20090916:p1ã®ããã«ãæä½æ¥ã§ãã³ãã¬ã¼ããã¤ã³ã¹ãã¼ã«ãããã¨ãã§ããããã©ãããã¡ãã¨ã¯ãããªãã®ã§ã¤ã³ã¹ãã¼ã©ãç¨æãã¾ããã http://sourceforge.neâ¦
NSString#hashã«Objective-Cå´ã®ã¡ã½ããã使ãããã«ãããï¼r2263ï¼ SF.netã®ãã©ãã«ã¼ã«åãæååããã¤NSStringãRubyå´ã§åä¸ã¨å¤å®ãããªãã¦ä¸ä¾¿ãã¨ã®ãã±ããããã£ãã®ã§å¯¾å¿ãhttp://sourceforge.net/tracker/?func=detail&atid=438476&aid=284â¦
ä»ã®trunkï¼r2262ï¼ã§ãã¹ããªããã¹ãã«ã¤ãã¦ã 32/64å ±é tests/tc_subclass.rb test_undo2ã§ä»¥ä¸ã®ã¡ãã»ã¼ã¸ãåºåããã¦ä¸æããã .........2009-09-23 01:35:20.027 ruby[47396:903] *** Terminating app due to uncaught exception 'NSInternalIncoâ¦
tc_objcptr.rb, tc_types.rbãSnow Leopardã§ããã¹ãããã¹ããããä¿®æ£ï¼r2260ï¼ ã¦ãã³ã¡ã³ãã¢ã¦ããããSnow Leopardã®BridgeSupportã§ã¯ãå¤ãã®cftypesãtoll-freeï¼__NSCFTypeãã使ã£ã¦ï¼ã«ãªã£ã¦ãã¦ããã¹ãä¸ã®ãªãã¸ã§ã¯ãã®åã®assertã失æãâ¦
.bridgesupportãã¡ã¤ã«ã§"value64"ã¨"value"ã®ä¸¡æ¹ã«å¤ãããã¨ãã64bitã§ã¯value64ã®å¤ãã¨ãããã«ï¼r2258ï¼ % cd /System/Library/Frameworks/Foundation.framework % ack -a -G .bridgesupport NSNotFound Resources Resources/BridgeSupport/Foundatiâ¦
tc_bool.rbã®ãã¹ãã±ã¼ã¹ãSnow Leopardã§1件失æããã®ãä¿®æ£ï¼r2255ï¼ informal protocolã§ã®BOOLå¤ã®å¤æã«é¢ãããã¹ãã§ã使ã£ã¦ããã¡ã½ããã10.6ã§ã¯formal protocolã®ãªãã·ã§ãã«ã¡ã½ããã«ãªã£ã¦ããããã¨ã©ã¼ã«ãªã£ã¦ãããBOOLå¤ãè¿ãinformâ¦
Snow Leopard対å¿ã®SIMBLããªãªã¼ã¹ããã¦ããSIMBLæ¬ä½ã®ä»çµã¿ã¯å¤ãã£ãããã©ããã©ã°ã¤ã³ã®ã»ãã¯ããããå¤æ´ã¯å¿ è¦ãªãã64bitçãã¢ã¼ããã¯ãã£ã«å«ãã¦ã³ã³ãã¤ã«ããã°ããã ããã¡ãªã¿ã«èªåã®ç°å¢ã§ã¯SafariStandããã¼ãã«å¤±æãã¦SIMBL Agentâ¦
Rubyã«ããMac OS Xãã¹ã¯ãããã¢ããªã±ã¼ã·ã§ã³éçºå ¥é ~RubyÃRubyCocoa/MacRubyÃHotCocoa~ä½è : é«å°¾å®æ²»,ä¸å·æºå²,æ¨æ渡åºç社/ã¡ã¼ã«ã¼: æ¯æ¥ã³ãã¥ãã±ã¼ã·ã§ã³ãºçºå£²æ¥: 2009/09/25ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼è³¼å ¥: 11人 ã¯ãªãã¯: 177åãã®â¦
Snow Leopardã§ã¯ãããããªã¨ããã§64bit/32bit両æ¹ã®ã³ã¼ããå©ç¨ã§ããããã«ãªã£ãã両æ¹ã®ãã¤ããªãå«ãã¨ããå®è¡ç°å¢ã®ã¢ã¼ããã¯ãã£ãåªå çã«é¸æãããã64bitã®Macã§32bitã³ã¼ããåããããã¨ãã«ã©ãããã°ããããã®ã¡ã¢ãã©ã¡ããLeopardã§â¦
RubyCocoaã®ãã«ãã¹ã¯ãªããã調æ´ã主ã¨ã㦠configãªãã·ã§ã³ã®--build-universalãå»æ¢ãã¦ã--target-archsã¨ãããªãã·ã§ã³ãå°å ¥ãåå¥ã«ã¢ã¼ããã¯ãã£ãæå®ã§ããããã«ããï¼r2249ï¼ # å¾æ¥ã¯ã¦ããã¼ãµã«ãã¤ããªã«ãããã©ããã®ã¿ãæå® % rubâ¦
ç±åºãã¦å¯è¾¼ãã ããå¼ã£è¶ããããå¼ã£è¶ãå ã§ã¤ã³ã¿ã¼ãããç°å¢ãæºåã§ããªãã£ããã§ããªã«ããããæ¢ã¾ã£ã¦ã¾ãããç³ã訳ããã¾ãããã¨ããããSnow Leopardä¸ã®Ruby(MacPorts)ã¨RubyCocoaã«ã¤ãã¦æåªå ã§å¯¾å¿ãã¾ãããããããã±ãããMLã§ãç¥â¦
10.6ã§ãããã°ç¨ãã¯ãã§NSLog()ã«æ¸¡ãã¦ãããã©ã¼ãããæååããªãã©ã«ãããªãã¨ãè¦åãã§ãããã«ãªã£ãã®ã§å¯¾å¦ï¼r2245ï¼ ã¤ãã§ã«ãããã°åºåæã«argcã®æ°ããã®ããããã¨ã«ãªã£ã¦ããã®ãç´ã£ãã½ãã
[hikidoc-140]ã®ãªã¯ã¨ã¹ãããã®ã¾ã¾ãã¼ã¸ã2ã¤ã®ããã¯ã¯ã©ã¼ã(``)ã§å²ã¾ããã¤ã³ã©ã¤ã³ã¯çå¹ è¡¨ç¤ºãããããã«ãªãã¾ããkdmsnrããããããã¨ããããã¾ãï¼ æååä¸ã«ãã®ããã«æ¸ãã¨ã``çå¹ ã§è¡¨ç¤º``ã§ããããã«ãªãã¾ãã
RubyCocoaã®ruby install.rb testã失æãããçµãããªãã£ããããã®ã§èª¿æ»ä¸ãªãã ãã©ã % PATH=/usr/bin ruby -rosx/cocoa -e 'a = OSX::NSIndexSet.indexSet; puts a.firstIndex ; puts OSX::NSNotFound' 9223372036854775807 2147483647 % PATH=/usr/bâ¦
ãã±ããããã http://trac.macports.org/ticket/21124 ï¼ãã¹ã¦intelç³»ã®ã¯ãªãï¼10.6ä¸ã®MacPortsã¯ã64bitæ©ä¸ã§ã¯x86_64ã§ã³ã³ãã¤ã«ãããã¨ããããã ããmacports.confã« build_arch i386ã¨æ¸ãã°ãåå32bitï¼= i386ï¼ã§ã³ã³ãã¤ã«ãã¦ãããããã«â¦
ãªãããããã£ã±ããã£ã±ãã Snow Leopardã§packageãã¤ãããããã«ï¼r2243ï¼ % ruby install.rb packageã§.dmgã¾ã§ä½æãããããã«ãªã£ã¦ããã10.6ç¨ã®è¨å®ãã¡ã¤ã«ãç¨æãã¦ããªãã£ãã®ã§ãä»åä½æããã