在rails上安装ruby的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'.
请帮我
感谢
错误是将C:/Ruby192/include/ruby-1.9.1
添加到Ruby安装列表中。
默认情况下,dk.rb
将找不到该路径,并且实际上该路径不是有效路径。
请确保config.yml
仅包含以下内容:
- C:/Ruby192
破折号是重要的
完成此操作后,请再次尝试ruby dk.rb install
。
打开config.yml
并配置Ruby EX的目录:C:/Ruby192