Ruby 1.9.1ã®ã¡ã³ããã³ã¹ãå¼ãåããå½åãã¡ã³ããã³ã¹ã®æéã¨ãã¦åèã«ã§ãããã®ã¯å¤ãã¯ãªãã£ããRuby 1.8ç³»ã®ããæ¹ãåèã«ãããã¦ãããã¤ãåé¨ããã«æããä¹ããããããããããªãããªã§ãã¡ã³ããã³ã¹ããä¸ã§åãã£ã¦ãããã¨ãããã®ã§ã¡ã¢ããã
ç®æ¨
ã¾ãããªãªã¼ã¹ãã©ã³ããã¡ã³ããã³ã¹ããç®æ¨ã¯ä½ã§ããããã¯ã£ãããããããã¡ã³ããã³ã¹ã«ãã£ã¦ã©ããã£ã価å¤ãæä¾ãããã¨è¨ã£ã¦ãè¯ãã
å®å®ããä»æ§ã®å®å ¨ã«æ©è½ããã½ããã¦ã§ã¢ãã§ããã ãé·æéæä¾ãããã¨ããããç®æ¨ã§ãããæ°¸é ã«æä¾ã§ããã°è¯ãã®ã ããã©ããããããããªããå©ç¨è ãå°ãªããªã£ããã¼ã¸ã§ã³ãã¡ã³ããã³ã¹ãã¦ãã¡ãªããã¯å°ãªããã¡ã³ããã³ã¹ã«å²ãã人æãéãããããéçºããã¦ããtrunkã¨ã¡ã³ããã³ã¹ããã¦ãããã©ã³ããé¢ããã»ã©ã«ãããã®é©ç¨ã¯é£ãããªãã対å¦ãã¹ãåé¡ãå ±æãããã¨ãé£ãããªããã§ããã§ããã ãé·ãæä¾ãããã
ãã®ç®æ¨ãå®ç¾ããããã«ãã½ããã¦ã§ã¢ã®æåãå®å®ã«ä¿ã¡ã¤ã¤ããã©ã³ãã«æ®ã£ã¦ãããã°ã解æ¶ãããã¨ãç®æããç¹ã«ãã»ãã¥ãªãã£ã¼ãã¼ã«ã¯å¡ããªããã°ãªããªããããã©ãããããã¯ãã¬ã¼ããªãã®é¢ä¿ã«ãªããã¨ãããããã°ä¿®æ£ã«ä¼´ã£ã¦æåãå¤ãã£ã¦ãã¾ããã¨ããããã¾ããç¾ç¶ã®ä»æ§ãã®ãã®ãã»ãã¥ãªãã£ä¸ã®åé¡ãåãã§ãã¦ä»æ§å¤æ´ããªããã¨ã«ã¯ã»ãã¥ãªãã£ã¼ãã¼ã«ãå¡ãããªããã¨ããããã¨ã¯ãããã³ã¼ããä¿®æ£ããªããã°æåãå¤ãããã¨ããªãã®ã ããããã°ä¿®æ£ã¨ããç®æ¨ã妨ããªãéãã«ããã¦ãããé©ç¨ã¯å°ãªãã»ã©ããã
ãã¼ã¸
ãã©ã³ãã¡ã³ããã³ã¹ã§ä¸çªå¤ãã®ã¯ãã¯ãtrunkããã®ãã¼ã¸ã§ããããã®ãã©ã³ãã®åºæã®ãã°ä¿®æ£ããã¹ãç¬èªã«éçºãããã¨ãããããã©ãããã¼ã¸ããã±ã¼ã¹ã®ã»ããå¤ãã
ä¸çªéçºãæ´»çºã§ãç®çããå¤ãã®ã¯trunkã ãåã¢ã¸ã¥ã¼ã«ã®æ å½è ã主ã«ããã§æ´»åãã¦ãããã ãããtrunkã§ãåç¾ãããããªåé¡ã¯trunkã§ã®ä¿®æ£ããã®ã¾ã¾åãè¾¼ãã æ¹ãããã
æ確ãªãã®
æ°æ©è½
æ°æ©è½ã¯ãã¼ã¸ããªãã
SEGV
Rubyã«ããã¦ã¯SEGVã¯å¸¸ã«ãã°ã§ãããä¸æ£ãªããã°ã©ã ãå ¥åãããã¨ãã¦ãRubyã¯ä¾å¤ãçºçããã¦å¯¾å¦ãã¹ãã§ãããããã§å¦çç³»ãè½ã¡ã¦ãã¾ã£ã¦ã¯ãããªããã ãããSEGVãå ±åãããã¨ãã«ã¯ä¿®æ£ãããã¯å¸¸ã«ãã¼ã¸ããã
å¢çç·ä¸
ãã¹ãã±ã¼ã¹
å½åããã¹ãã±ã¼ã¹ã®è¿½å ã¯ãã¼ã¸ããªãæ¹éã ã£ãããã°ä¿®æ£ã§ã¯ãªãããã ãããã©ãããã°ãæ¤åºããããtrunkã¨ã®çç¶ã®éããæ¢ãããããç®çã§ãã¯ããã¹ãã±ã¼ã¹ã¯å¤ãæ¹ããããããã§ãã©ãããã¹ãã±ã¼ã¹è¿½å ãããã¯é©ç¨ããã»ãããã©ã³ããé·çããããã¨ããç®çã«ã¯åè´ããããã ã
ã¤ã³ãã³ã
ã¤ã³ãã³ããä½åãªç©ºç½ãä¿®æ£ãããã®ãããã¼ã¸ããæ¹ãããããããã¯æ¬è³ªçãªä¿®æ£ã¯ä½ããã¦ããªãã®ã ãããã¼ã¸ããªãã§ãè¯ãããã ããå¾ã å¹ãã¦ãããã¨ããã®ã¯ãã¤ã³ãã³ãã空ç½ã®éãã§ãªãã¸ã§ã³ç®¡çã·ã¹ãã ã®èªåãã¼ã¸ã«å¤±æããã¨ãæã§ãã¼ã¸ããç¾½ç®ã«ãªãããã ãæä½æ¥ããã°ãã¹ãçºçããå¯è½æ§ãåºããã ãããæä½æ¥ã¯å°ãªãã»ã©è¯ãããã®ããã«ã¯ã¤ã³ãã³ãä¿®æ£ã¯ãã¼ã¸ãã¹ãã ãã¤ã³ãã³ãä¿®æ£ã®åå¾ã§ã¯GNU indentã使ã£ã¦ç©ºç½ä»¥å¤ã®éãããªããã¨ã確èªããã
ããã¥ã¡ã³ãä¿®æ£
決å®çãªèª¤è§£ãæããããªééããä¿®æ£ããã±ã¼ã¹ã¯ãã¼ã¸ãããå©ç¨è ãå©ç¨ããããã®ç°å¢ãå«ãã¦ã½ããã¦ã§ã¢ã ã
ãã ããä¿®æ£åã§ã解éã§ããã±ã¼ã¹ãç¹ã«ã¹ãã«ãã¹ã¯ãã¼ã¸ããªããå©ç¨è ã®é è³ã«ããä¿®æ£æ©æ§ãå«ãã¦ã½ããã¦ã§ã¢ã ã
ããã¥ã¡ã³ã追å
ããã¥ã¡ã³ããç¡ãã¦ãæ»ãªãªãã®ã§ååã¨ãã¦ãã¼ã¸ããªãã
ããã©ããåãè¾¼ã¿ããã¥ã¡ã³ãããã¼ã¸ããæ¹ããã¨ãã¨ãããã®é©ç¨ã楽ã«ãªããããªã±ã¼ã¹ã¨ãããã®ã¯ãããããããã¨ãã¯ãã¼ã¸ãããã¨ã¯ããã