日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
透過(guò)Rubysource了解Ruby真理

Ruby語(yǔ)言的出現(xiàn),為編程人員提供了一個(gè)愉悅的編程環(huán)境。在這里我們就通過(guò)一段簡(jiǎn)單的Ruby source,來(lái)看看Ruby語(yǔ)言的基本概念。#t#

1 從rubyforge下載1.85版的src,解壓縮文件到指定目錄下。

2 環(huán)境準(zhǔn)備:我是WindowXp(sp2 jp)+ Cygwin

3 然后打開(kāi)指定目錄下解壓縮的readme文件,按照步驟運(yùn)行命令。

  1. * How to compile and install  
  2. This is what you need to do to compile 
    and install Ruby:  
  3.  
  4. 1. If ./configure does not exist or is older 
    than configure.in,  
  5. run autoconf to (re)generate configure.  
  6.  
  7. 2. Run ./configure, which will generate 
    config.h and Makefile.  
  8.  
  9. 3. Edit defines.h if you need. Usually 
    this step will not be needed.  
  10.  
  11. 4. Remove comment mark(#) before the 
    module names from ext/Setup (or  
  12. add module names if not present), 
    if you want to link modules  
  13. statically.  
  14. If you don't want to compile non 
    static extension modules  
  15. (probably on architectures which does 
    not allow dynamic loading),  
  16. remove comment mark from the
     line "#option nodynamic" in  
  17. ext/Setup.  
  18.  
  19. 5. Run make.  
  20.  
  21. 6. Optionally, run 'make test' to check
     whether the compiled Ruby  
  22. interpreter works well. If you see 
    the message "test succeeded",  
  23. your ruby works as it should (hopefully).  
  24.  
  25. 7. Run 'make install'  
  26. You may have to be a super user to install ruby. 

編譯成功,在usr/local/下面生成了編譯后的文件。


分享題目:透過(guò)Rubysource了解Ruby真理
分享網(wǎng)址:http://m.5511xx.com/article/djpppcc.html