Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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:

G:\Ruby22-x64

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
#
-"G:/Ruby22-x64"

I also tried:

-G:/Ruby22-x64

or

-G:/Ruby22-x64/bin

and also this:

---
-G:\Ruby22-x64

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?

like image 201
Nickool Avatar asked May 08 '15 00:05

Nickool


2 Answers

Try:

---
- G:\Ruby22-x64

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

like image 88
Azolo Avatar answered Nov 02 '22 04:11

Azolo


dont get confuse with the YML File ('listed in DevKit Extraction folder') just put the Ruby Directory Name (that u installed on C:/ or your primary disk drive) for me (i installed ruby on C:/ Ruby22-x64) you just put that directory name at the end of YML File

like

  • C:/Ruby22-x64 be careful for white space between Drive name and '- C:/Ruby22-x64' like this
like image 27
Zeeshan_DaDa Avatar answered Nov 02 '22 03:11

Zeeshan_DaDa