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。所以,须要安装。
参考: