关于 ruby 安装devkit 的config.yml 文件
迷茫
迷茫 2017-04-24 09:10:54
0
3
594
$ 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
#

初始化的内容不对呀

需要自己手动填写吗?

另 这里该填写什么东西呢

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
黄舟

Read carefullyconfig.yml文件,它是要告诉你,把你的Ruby的根目录按照这个格式写在这个文件里面,然后执行 ruby dk.rb install.

If the directory you installed is C盘下的Ruby文件夹,那就在这个文件的后面写上- C:Ruby.

PHPzhong

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:Ruby200-x64

(亲测可用)

左手右手慢动作

Add - C:/Ruby22-x64 at the bottom (this is the location of your ruby ​​installation, remember to add a horizontal line in front)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template