zoukankan      html  css  js  c++  java
  • Win7 安装bundle

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

      1. rubyinstaller

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

      2. Development Kit

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

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

        安装方法:    

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

    参考:

      

  • 相关阅读:
    HDU 1301 Jungle Roads
    HDU 1671 Phone List
    HDU 1992 Tiling a Grid With Dominoes
    HDU 1251 统计难题
    总结自己的近期表现
    Windows API 函数: SetClassLong
    ModifyStyle
    assert,assert_valid,verify,trace用法
    用VC++绘制位图按钮
    Codeforces 144D. Missile Silos 最短路
  • 原文地址:https://www.cnblogs.com/javawer/p/4211465.html
Copyright © 2011-2022 走看看