Win7 安装bundle

  bundle依赖ruby,因此需要下载并安装一下内容:

  1. rubyinstaller

    这个是windows专用的ruby安装程序,下载地址是http://rubyinstaller.org/

  2. Development Kit

    由于某些依赖DevKit,因此安装

    下载地址:http://rubyinstaller.org/downloads

    安装方法:    

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. rubyGems

  下载:https://rubygems.org/pages/download

  安装方法:解压后,进入rubygems目录,

  执行:ruby setup.rb

  4. bundle

  执行:gem install bundler

 

  因为,在我学习的工程中,依赖于DevKit。因此,需要安装。

 

参考:

  

Win7 安装bundle

上一篇:layui form里的select元素动态赋值无效


下一篇:浅谈树模型与集成学习-从决策树到GBDT