Ruby
這個就不用多說了
RVM
用于幫你安裝Ruby環(huán)境,幫你管理多個Ruby環(huán)境,幫你管理你開發(fā)的每個Ruby應(yīng)用使用機(jī)器上哪個Ruby環(huán)境。Ruby環(huán)境不僅僅是Ruby本身,還包括依賴的第三方Ruby插件。都由RVM管理。
Rails
這個也不用多說,著名開發(fā)框架。詳細(xì)看 http://zh.wikipedia.org/wiki/Ruby_on_Rails
RubyGems
RubyGems是一個方便而強(qiáng)大的Ruby程序包管理器( package manager),類似RedHat的RPM.它將一個Ruby應(yīng)用程序打包到一個gem里,作為一個安裝單元。無需安裝,最新的Ruby版本已經(jīng)包含RubyGems了。
Gem
Gem是封裝起來的Ruby應(yīng)用程序或代碼庫。
注:在終端使用的gem命令,是指通過RubyGems管理Gem包。
Gemfile
定義你的應(yīng)用依賴哪些第三方包,bundle根據(jù)該配置去尋找這些包。
Rake
Rake是所有需要安裝的Gem中最重要的一個,并且它應(yīng)該始終是你在系統(tǒng)上第一個安裝的Gem。Rake是一個構(gòu)建工具,和Make很相似,但它允許用Ruby來寫Rakefile(如何進(jìn)行構(gòu)建的定義文件),其中使用了一種特定的DSL(domain-specific language,領(lǐng)域?qū)S谜Z言),在保持Ruby強(qiáng)大功能的同時提供很高的可讀性。 Rails用rake擴(kuò)展來完成多種不容任務(wù),如數(shù)據(jù)庫初始化、更新等。
Rake is a build language, similar in purpose to make and ant. Like make and ant it's a Domain Specific Language, unlike those two it's an internal DSL programmed in the Ruby language.
PS:個人感覺有點(diǎn)類似Symfony2中的app/console
詳細(xì) http://rake.rubyforge.org/
Rakefile
Rakefile是由Ruby編寫,Rake的命令執(zhí)行就是由Rakefile文件定義。
In a gem's context, the Rakefile is extremely useful. It can hold various tasks to help building, testing and debugging your gem, among all other things that you might find useful.
詳細(xì): http://rake.rubyforge.org/files/doc/rakefile_rdoc.html
Bundle
相當(dāng)于多個RubyGems批處理運(yùn)行。在配置文件gemfilel里說明你的應(yīng)用依賴哪些第三方包,他自動幫你下載安裝多個包,并且會下載這些包依賴的包。
Bundler maintains a consistent environment for ruby applications. It tracks an application's code and the rubygems it needs to run, so that an application will always have the exact gems (and versions) that it needs to run.
您可能感興趣的文章:- Ruby版本管理工具RVM的安裝和使用教程
- 教你如何在ubuntu15.04安裝 RVM
- RVM安裝和使用總結(jié)筆記
- 使用RVM實現(xiàn)控制切換Ruby/Rails版本