這個(gè)就不用多說(shuō)了
RVM
用于幫你安裝Ruby環(huán)境,幫你管理多個(gè)Ruby環(huán)境,幫你管理你開(kāi)發(fā)的每個(gè)Ruby應(yīng)用使用機(jī)器上哪個(gè)Ruby環(huán)境。Ruby環(huán)境不僅僅是Ruby本身,還包括依賴的第三方Ruby插件。都由RVM管理。
Rails
這個(gè)也不用多說(shuō),著名開(kāi)發(fā)框架。詳細(xì)看 http://zh.wikipedia.org/wiki/Ruby_on_Rails
RubyGems
RubyGems是一個(gè)方便而強(qiáng)大的Ruby程序包管理器( package manager),類似RedHat的RPM.它將一個(gè)Ruby應(yīng)用程序打包到一個(gè)gem里,作為一個(gè)安裝單元。無(wú)需安裝,最新的Ruby版本已經(jīng)包含RubyGems了。
Gem
Gem是封裝起來(lái)的Ruby應(yīng)用程序或代碼庫(kù)。
注:在終端使用的gem命令,是指通過(guò)RubyGems管理Gem包。
Gemfile
定義你的應(yīng)用依賴哪些第三方包,bundle根據(jù)該配置去尋找這些包。
Rake
Rake是所有需要安裝的Gem中最重要的一個(gè),并且它應(yīng)該始終是你在系統(tǒng)上第一個(gè)安裝的Gem。Rake是一個(gè)構(gòu)建工具,和Make很相似,但它允許用Ruby來(lái)寫Rakefile(如何進(jìn)行構(gòu)建的定義文件),其中使用了一種特定的DSL(domain-specific language,領(lǐng)域?qū)S谜Z(yǔ)言),在保持Ruby強(qiáng)大功能的同時(shí)提供很高的可讀性。 Rails用rake擴(kuò)展來(lái)完成多種不容任務(wù),如數(shù)據(jù)庫(kù)初始化、更新等。
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:個(gè)人感覺(jué)有點(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)于多個(gè)RubyGems批處理運(yùn)行。在配置文件gemfilel里說(shuō)明你的應(yīng)用依賴哪些第三方包,他自動(dòng)幫你下載安裝多個(gè)包,并且會(huì)下載這些包依賴的包。
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.