$ ruby dk.rb init
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.
Administrator@WIN-9PH4ISN44NM MINGW64 /e/tools/devkit
$ ruby dk.rb install
Invalid configuration or no Rubi
在 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
#
初始化的内容不对呀
需要自己手动填写吗?
另 这里该填写什么东西呢
黄舟2017-04-24 09:12:54
config.yml
파일을 주의 깊게 읽어보세요. 이 파일에 Ruby
의 루트 디렉터리를 이 형식으로 작성한 후 ruby dk.rb install
을 실행하라고 나와 있습니다.
설치한 디렉터리가 C
디스크 아래의 Ruby
폴더인 경우 파일 뒤에 - C:Ruby
을 입력하세요.
PHPz2017-04-24 09:12:54
C:Ruby200-x64
(亲测可용)