2

我正在尝试在 Windows 7 上安装 devkit,但在发出命令 ruby​​ dk.rb install 时出现以下错误。

[INFO] 跳过“C:/RailsInstaller/Ruby1.9.3”的现有 gem 覆盖 [WARN] 跳过“C:/RailsInstaller/Ruby1.9.3”的现有 DevKit 帮助程序库

所以我尝试了 >ruby dk.rb install --force 但现在我收到了这个错误,

[警告] 更新(有备份)现有 gem 覆盖 'C:/RailsInstaller/Ruby1 .9.3' [警告] 更新(有备份)'C:/RailsInstaller/Ruby1 .9.3' 的 DevKit 帮助程序库

我已经使用 rails 安装程序安装了 ruby​​。这是我的 config.yml 文件中的内容,

# 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\Ruby1.9.3
4

1 回答 1

2

只是一个警告,忽略它,不要--force它,使用 Ruby 并长寿和繁荣。

于 2013-12-05T15:42:59.377 回答