On Apr 8, 10:13=A0pm, Stephen Boesch <java... / gmail.com> wrote:
> As mentioned in title, devkit is not finding ruby installation. Also
> after adding to config.yml get an error of 'invalid configuration. help
> appreciated.
>
> Here is env:
>
> =A0 - RUBY EXECUTABLE: C:/apps/pik/rubies/ruby-1.9.2-p136/bin/ruby.exe
>
>
> But .. no ruby's were found .. ;(
>
> # 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
> #
>
> Then when I MANUALLY add the ruby as follow:
>
> # ---
> # - C:/ruby19trunk
> # - C:/ruby192dev
> #
> C:/apps/pik/rubies/ruby-1.9.2-p136
>
> I get following:
>
> C:\zdisks\devkit>ruby dk.rb review
>
> Invalid configuration. Please fix 'config.yml.'
>
> How painful.
>


As indicated in the example, you need to provide a list of
directiories, even if there is one:

- C:/Path/to/ruby
- C:/Path/To/another/ruby

Simply adding the dash should solve your problem.

--
Luis Lavena