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

    参考:

      

  • 相关阅读:
    [luogu5665]划分
    [luogu5666]树的重心
    [bzoj1854]游戏
    [bzoj1853]幸运数字
    [bzoj2245]工作安排
    [bzoj1426]收集邮票
    [bzoj2396]神奇的矩阵
    [bzoj1858]序列操作
    [bzoj1863]皇帝的烦恼
    [bzoj1432]Function
  • 原文地址:https://www.cnblogs.com/javawer/p/4211465.html
Copyright © 2020-2023  润新知