我正在尝试在Windows 7上安装devkit但在发出命令时遇到错误 ruby dk.rb install。
[INFO]跳过'C:/RailsInstaller/Ruby1.9.3'的现有gem覆盖 [WARN]跳过现有的DevKit帮助程序库以获取'C:/RailsInstaller/Ruby1.9.3'
所以我尝试了> ruby dk.rb install --force但是现在我收到了这个错误,
[WARN]更新(使用备份)'C:/ RailsInstaller / Ruby1的现有gem覆盖 .9.3' [WARN]为'C:/ RailsInstaller / Ruby1更新(使用备份)DevKit帮助程序库 .9.3'
我使用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
答案 0 :(得分:2)
只是一个警告,忽略它,不要--force
它,使用Ruby并且长寿和繁荣。