我试图在 Windows 7 上使用 Devkit 安装 Rails
我已经安装了 railsinstaller
我在 config.yml 中添加了 Ruby2.1.0 的路径:
# This configuration file contains the absolute path locations of all
# installed Rubies to be enhanced to work with the DevKit. This config
# file is generated by the 'ruby dk.rb init' step and may be modified
# before running the 'ruby dk.rb install' step. To include any installed
# Rubies that were not automagically discovered, simply add a line below
# the triple hyphens with the absolute path to the Ruby root directory.
#
# Example:
#
# ---
# - C:/ruby19trunk
# - C:/ruby192dev
#
---
- C:/RailsInstaller/Ruby2.1.0
当我尝试跑步时
ruby dk.rb install
它给了我以下信息:
[INFO] 跳过 'C:/RailsInstaller/Ruby2.1.0' 的现有 gem 覆盖
[WARN] 跳过 'C:/RailsInstaller/Ruby2.1.0' 的现有 DevKit 帮助程序库
当我尝试使用强制选项时:
ruby dk.rb install --force
我明白了:
[警告] 更新(带备份)现有 gem 覆盖 'C:/RailsInstaller/Ruby2 .1.0' [警告] 更新(带备份)'C:/RailsInstaller/Ruby2 .1.0' 的 DevKit 帮助程序库