Invalid configuration or no Rubies listed. Please fix 'config.yml' and rerun 'ruby dk.rb install'

Ruby on Rails インストール時のメモというか拡散

ruby dk.rb install

ってやって、

Invalid configuration or no Rubies listed. Please fix 'config.yml' and rerun 'ruby dk.rb install'

というエラーが出たら、

dk.rb init

で生成された、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
#
---
- C:/Ruby22-x64

最後の一行のフォルダパスを追記してあげる。ここはおそらくrubyのインストールディレクトリでいいみたい。

エラーがそのあとは解消され、次のステップにいけます。

[INFO] Updating convenience notice gem override for 'C:/Ruby22-x64'
[INFO] Installing 'C:/Ruby22-x64/lib/ruby/site_ruby/devkit.rb'

↑エラーが解消するとこんなのが出ました。

20150611 add ................

というか、

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.

変更してくださいって出てるね…