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

初始化的内容不对呀

需要自己手动填写吗?

另 这里该填写什么东西呢

迷茫
迷茫

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

全部回覆(3)
黄舟

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

如果你安裝的目錄是C盘下的Ruby文件夹,那就在这个文件的后面写上- C:Ruby

PHPzhong

這個設定檔包含了所有

的絕對路徑位置

安裝了要增強的 Rubies,以便與 DevKit 一起使用。這個配置

檔案由「ruby dk.rb init」步驟生成,可以修改

在執行「ruby dk.rb install」步驟之前。包括任何已安裝的

不是自動發現的紅寶石,只需在下面添加一行

三個連字符以及 Ruby 根目錄的絕對路徑。

範例:

---

- C:/ruby19trunk

- C:/ruby192dev


  • C:Ruby200-x64

(親測可使用)

左手右手慢动作

在最下面加上 - C:/Ruby22-x64(這是你ruby安裝的位置,記得前面一定要加橫線)

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!