Nickool Nickool - 1 year ago 269
Ruby Question

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

I want to install ruby on windows7 to then use Scout and SASS, I did it by a windows installer but I am initializing it and then intalling for configuring my SASS. I did the

ruby dk.rb init

without any problem but for

ruby dk.rb install

I have the error to configure the config.yml file,
my Ruby folder is in the fallowing path:


here is the screenchot:

enter image description here

according to similar questions I wrote this path file in 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

I also tried:




and also this:


I also intalled it in c:\programfiles and then write the path in config.yml still not working.

nothing worked for me,How can I solve it?

Answer Source


- G:\Ruby22-x64

The YAML syntax says you need the 3 dashes at the top and then both the dash and space (-)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download