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

透過Ruby source了解Ruby真理

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

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

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

2 環(huán)境準備:我是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/下面生成了編譯后的文件。
 

責(zé)任編輯:曹凱 來源: 博客園
相關(guān)推薦

2009-12-18 11:37:54

Ruby關(guān)鍵字yiel

2009-12-15 17:28:11

Ruby自動化腳本框架

2022-02-23 09:36:11

GoRuby編程語言

2014-11-05 11:05:15

Ruby

2011-04-18 09:53:08

Ruby

2009-08-27 10:21:22

Ruby on Rai

2009-12-14 11:12:55

Ruby運行

2009-12-15 15:35:56

Ruby symbol

2009-12-15 10:23:23

Ruby應(yīng)用技巧

2009-08-06 09:13:36

Ruby on Rai

2009-12-15 15:28:22

Ruby重載

2009-12-16 14:51:26

Ruby nil

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數(shù)組

2009-12-14 09:33:04

Ruby安裝

2009-09-09 17:45:25

Ruby的blocks
點贊
收藏

51CTO技術(shù)棧公眾號

主站蜘蛛池模板: 精品一区二区三区免费毛片 | 日韩久久精品电影 | 91综合网| 99精品欧美一区二区三区综合在线 | 狠狠操天天操 | 成年人在线观看 | 久久精品久久综合 | 在线免费黄色小视频 | 女人av| 久久成人精品视频 | 欧美在线一区二区三区 | 欧美一区不卡 | 日韩亚洲视频 | 久草在线高清 | 精品一级毛片 | 精品在线一区 | 久久鲁视频 | 亚洲精品1区 | 97久久精品午夜一区二区 | 欧美一区二区三区在线看 | 国产在线高清 | 亚洲大片在线观看 | 亚洲视频精品 | 午夜视频在线免费观看 | 日日干夜夜操 | 国产精品久久久久久久久久久久午夜片 | 在线观看国产www | 在线一区| 国产精品久久久久久婷婷天堂 | 久久久久国产精品一区三寸 | 久久国产电影 | 成人亚洲精品久久久久软件 | 亚洲男人的天堂网站 | 国产三区在线观看视频 | 一区二区精品 | 日本一区二区三区视频在线 | 午夜精品福利视频 | 亚洲一区黄色 | 国产乱码精品1区2区3区 | 日本激情视频在线播放 | 一区影院 |