我在安装ruby on rails的devkit时遇到了一个问题。下面是我得到的错误
C:\DevKit>ruby dk.rb review
Based upon the settings in the 'config.yml' file generated
from running 'ruby dk.rb init' and any of your customizations,
DevKit functionality will be injected into the following Rubies
when you run 'ruby dk.rb install'.
C:/Ruby192
C:/Ruby192/include/ruby-1.9.1
C:\DevKit>ruby dk.rb install
[INFO] Updating convenience notice gem override for 'C:/Ruby192'
[INFO] Installing 'C:/Ruby192/lib/ruby/site_ruby/devkit.rb'
[ERROR] Unable to find RubyGems in site_ruby or core Ruby. Please install RubyGems and rerun 'ruby dk.rb install'.请帮帮我
谢谢
发布于 2011-07-02 05:02:06
错误是您将C:/Ruby192/include/ruby-1.9.1添加到了Ruby安装列表中。
默认情况下,dk.rb不会找到该路径,实际上该路径不是有效路径。
请确保config.yml只包含以下内容:
- C:/Ruby192破折号很重要
完成此操作后,请再次尝试ruby dk.rb install。
发布于 2013-02-20 00:36:02
打开config.yml并配置Ruby的目录:C:/Ruby192
https://stackoverflow.com/questions/6550582
复制相似问题