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。因此,需要安装。

 

参考:

  

posted @ 2015-01-08 17:11  Javawer  阅读(1299)  评论(0编辑  收藏  举报
作者:Roger Wei
出处:http://www.cnblogs.com/javawer/
转载须保留此声明,并注明在文章起始位置给出原文链接。