>  Q&A  >  본문

关于 ruby 安装devkit 的config.yml 文件

$ 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
#

初始化的内容不对呀

需要自己手动填写吗?

另 这里该填写什么东西呢

迷茫迷茫2710일 전532

모든 응답(3)나는 대답할 것이다

  • 黄舟

    黄舟2017-04-24 09:12:54

    config.yml 파일을 주의 깊게 읽어보세요. 이 파일에 Ruby의 루트 디렉터리를 이 형식으로 작성한 후 ruby dk.rb install을 실행하라고 나와 있습니다.

    설치한 디렉터리가 C 디스크 아래의 Ruby 폴더인 경우 파일 뒤에 - C:Ruby을 입력하세요.

    회신하다
    0
  • PHPz

    PHPz2017-04-24 09:12:54

    이 구성 파일에는 모든 경로의 절대 경로 위치가 포함되어 있습니다

    DevKit과 함께 작동하도록 개선하기 위해 Ruby를 설치했습니다. 이 구성

    'ruby dk.rb init' 단계에서 파일이 생성되며 수정될 수 있습니다

    'ruby dk.rb install' 단계를 실행하기 전. 설치된 항목을 포함하려면

    자동으로 발견되지 않은 루비는 아래에 한 줄만 추가하세요

    Ruby 루트 디렉터리에 대한 절대 경로가 포함된 세 개의 하이픈

    예:

    ---

    - C:/ruby19trunk

    - C:/ruby192dev


    • C:Ruby200-x64

    (亲测可용)

    회신하다
    0
  • ringa_lee

    ringa_lee2017-04-24 09:12:54

    하단에 C:/Ruby22-x64 추가(Ruby 설치 위치입니다. 앞에 수평선을 추가하는 것을 잊지 마세요)

    회신하다
    0
  • 취소회신하다