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:

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?

Answers


Try:

---
- G:\Ruby22-x64

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


Need Your Help

Semaphore Operations

c semaphore

I was reading a text on semaphores and their operations. The author emphasized that the wait() and post() operations of semaphores should be executed atomically, otherwise mutual exclusion of the t...

Redirect to a JSP file from controller action in Spring MVC

java spring jsp spring-mvc

In my spring mvc application, I have the following login form:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.