bundle依賴ruby,所以須要下載並安裝一下內容:windows
1. rubyinstallerruby
這個是windows專用的ruby安裝程序,下載地址是http://rubyinstaller.org/學習
2. Development Kitspa
因爲某些依賴DevKit,所以安裝blog
下載地址:http://rubyinstaller.org/downloadsit
安裝方法: io
C:\dev\DevKit>ruby dk.rb init [INFO] found RubyInstaller v2.1.5 at C:/dev/Ruby21-x64 Initialization complete! Please review and modify the auto-generated 'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit. C:\dev\DevKit>ruby dk.rb install [INFO] Installing 'C:/dev/Ruby21-x64/lib/ruby/site_ruby/2.1.0/rubygems/defaults/ operating_system.rb' [INFO] Installing 'C:/dev/Ruby21-x64/lib/ruby/site_ruby/devkit.rb'
3. rubyGemsclass
下載:https://rubygems.org/pages/downloadfile
安裝方法:解壓後,進入rubygems目錄,下載
執行:ruby setup.rb
4. bundle
執行:gem install bundler
由於,在我學習的工程中,依賴於DevKit。所以,須要安裝。
參考: