ä¸çä¸ç°¡åã»ä¾¿å©ã»å®å ¨ãªWindowsçRubyã®ã¤ã³ã¹ãã¼ã«æ¹æ³
Windowsçã®Rubyã®ã¤ã³ã¹ãã¼ã«ãé£ãããã¨ãã話ããããããªã®ã§ãç°¡åã§å®å ¨ãªRubyã®ã¤ã³ã¹ãã¼ã«æ¹æ³ãç´¹ä»ãã¾ãã
0. InstantRailsã®ãã¤ããªããã¦ã³ãã¼ããã¾ããç¾å¨ã®ææ°çã¯1.3aã§ãã http://rubyforge.org/frs/?group_id=904 ãããInstantRails-1.3a-win.zipãã¨ãããã¡ã¤ã«ãã¯ãªãã¯ãã¦ãã ããã50MB以ä¸ããã¾ãããæ°ã«ããæ°é·ã«å¾
ã¡ã¾ãããã
1. å±éãã¾ãã便å©ãªå§ç¸®ã»å±éã½ãããã¤ã³ã¹ãã¼ã«ããã¦ããã°ãããã«ã¯ãªãã¯ããã ãã¨ãã§å±éãããã§ãããã
2. ãã£ã¬ã¯ããªåã«ã¹ãã¼ã¹(空ç½æå)ãå
¥ããªãå ´æã«ãã©ã«ããã¨ç§»åãã¾ããä½ãèããããªããã°C:\InstantRails-1.3\ãªã©ã¨ãããã£ã¬ã¯ããªã«ç§»åããã°ããã§ãããã
ããã§ããã¾ãã§ããOne-Click InstallerãASRã¨åãããã以ä¸ã«ç°¡åã§æã£åãæ©ãã§ã(ãã¦ã³ãã¼ããã¦ããæéãé¤ãã°)ãç°å¢å¤æ°ãããã£ããããå¿ è¦ãããã¾ãããã¤ãã§ã«ApacheãPHPãMySQLãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãã¾ãããå¿ è¦ãªãã²ã¨ã¯æ°ã«ããªãã§ãã ããã
Rubyãå®è¡ããã«ã¯ã以ä¸ã®ããã«ãã¾ãã
1. InstantRails.exeãèµ·åãã¾ããããã«ã¯ãªãã¯ããã°OKãæåã®èµ·åã®æã«ãã¹ãã©ãããããããã¨è¨ãããããããã¾ããããæ°ã«ããOKã§ããã§ãã
2. å·¦ä¸ã«ãããIãã¿ãããªå¤ãªãã¼ã¯ãã¯ãªãã¯ãã¾ããããã¨ã¡ãã¥ã¼ã表示ãããã®ã§ããRails ApplicationsãâãOpen Ruby Console Windowããé¸ã³ã¾ãã
3. ã³ãã³ãããã³ããã表示ãããã®ã§ããrubyãã¨å
¥åããã¨Rubyã¤ã³ã¿ããªã¿ãå®è¡ã§ãã¾ãã対話å¼ã«ä½¿ãããã²ã¨ã¯ããirbãã¨å
¥åããã¨ãirbãã¨å¯¾è©±åRubyã使ãã¾ãã
RubyGemsãã¤ã³ã¹ãã¼ã«ãããã®ã§ããgem install ãgemã©ã¤ãã©ãªåããã¨ããã ãã§ãgemsã®ã¤ã³ã¹ãã¼ã«ãã§ãã¾ãã便å©ã§ãããRailsã«ããã£ã¦ã¯ãã¤ã³ã¹ãã¼ã«ããã¾ã§ããªãæ¨æºã§ã¤ãã¦ãã¾ããæ°ãå©ãã¦ã¾ããã
Cygwinããªãã¨ã©ãããããããã¨ããè±èªããåºã¦ããªãã¤ã³ã¹ãã¼ã©ã«èãã¦ããã®ãæã®è©±ã§ãã試ãã ã試ãã¦ã¿ã¦ããã£ã±Rubyãããªãããæ代ã¯Pythonã ãããã¨ããæã®ã²ãè¿ããªããªãã«ã¨ã£ã¦ãããã£ã¬ã¯ããªãã¨åé¤ããã ãã¢ã³ã¤ã³ã¹ãã¼ã«ã§ããã®ã§å®å¿ã§ãã
ã¨ããããã§ãWindowsã¦ã¼ã¶ã§Rubyã試ãã¦ã¿ããæ¹ã«ã¯ãInstantRailsãã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã®ã¯ãããã§ããããã
â¦â¦ããã¾ããæ¬æ ¼çã«å©ç¨ãããªãOne-Click InstallerãASRãã¤ã³ã¹ãã¼ã«ãã¨ããæ¹ããããããªæ°ããã¾ããã©ãã§ããå®éæè¿ã¯InstantRailsçã®Rubyã使ã£ã¦ã°ã£ãããªãã ããªã(ãã¤ã§ãconsoleãç«ã¡ä¸ãã£ã¦ããã®ã§)ã