成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

透過Ruby source了解Ruby真理

開發 開發工具
Ruby source是一個可以幫助我們理解Ruby語言實質性能的幫助工具。在這里我們將會通過對Ruby source的理解來進一步提高對Ruby語言的認知程度。

Ruby語言的出現,為編程人員提供了一個愉悅的編程環境。在這里我們就通過一段簡單的Ruby source,來看看Ruby語言的基本概念。#t#

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

2 環境準備:我是WindowXp(sp2 jp)+ Cygwin

3 然后打開指定目錄下解壓縮的readme文件,按照步驟運行命令。
 

  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/下面生成了編譯后的文件。
 

責任編輯:曹凱 來源: 博客園
相關推薦

2009-12-18 11:37:54

Ruby關鍵字yiel

2009-12-15 17:28:11

Ruby自動化腳本框架

2022-02-23 09:36:11

GoRuby編程語言

2014-11-05 11:05:15

Ruby

2009-08-27 10:21:22

Ruby on Rai

2011-04-18 09:53:08

Ruby

2009-12-14 11:12:55

Ruby運行

2009-12-15 15:35:56

Ruby symbol

2009-12-15 15:28:22

Ruby重載

2009-12-15 10:23:23

Ruby應用技巧

2009-08-06 09:13:36

Ruby on Rai

2009-12-16 14:51:26

Ruby nil

2009-09-09 17:45:25

Ruby的blocks

2009-12-14 13:47:28

Ruby簡單語法

2009-12-14 15:04:32

Ruby性能特點

2009-12-15 14:16:13

Ruby Contin

2012-11-07 09:41:30

2009-12-14 13:56:12

Ruby特點

2009-12-15 11:01:31

Ruby數組

2009-12-14 09:33:04

Ruby安裝
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 亚洲天堂网站 | 欧美亚洲网站 | 国产成人精品区一区二区不卡 | 日本一区二区三区在线观看 | 激情五月综合网 | 亚洲天堂一区 | 天天躁日日躁狠狠躁白人 | 特级特黄特色的免费大片 | 精品成人免费一区二区在线播放 | 久久国产精品免费 | 精品视频久久久久久 | 波多野结衣二区 | 免费污视频 | 成人国产精品免费观看 | 亚洲成av人影片在线观看 | 一区二区三区四区av | 中文字幕亚洲一区二区va在线 | 久热免费在线 | 日本一区二区高清不卡 | 伊人中文网 | 午夜视频导航 | 一区二区在线观看av | 亚洲精品在线看 | 欧美日韩国产传媒 | 国产美女在线观看 | 欧美日韩在线精品 | 罗宾被扒开腿做同人网站 | 日韩欧美在线观看视频网站 | 亚洲精品久久久蜜桃网站 | 免费一区二区三区 | 亚洲综合无码一区二区 | 夜夜久久| 国产中文字幕在线 | 国产精品99999 | 国内精品伊人久久久久网站 | 久久精品欧美一区二区三区麻豆 | 久久久久久久电影 | 亚洲高清在线观看 | 国产一级一级 | 日日爱av | 成人午夜影院 |