Ich habe Ruby 2.0 mit einem Windows Ruby Installer, entpackte DevKit (DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe) zu Programme und liefKann Ruby DevKit Konfigurationsdatei nicht automatisch korrekt erstellt werden
ruby dk.rb init
aber die erzeugte config.yml
Datei auflisten Pfad mein Rubin nicht. Sein Inhalt sieht wie folgt aus:
# 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
#
---
Wie dk.rb machen config.yml
erzeugen gültig?
ich auch erlebe das gleiche Problem. Wenn das, was du sagst, wahr ist, hast du das devkit jedoch in ein Verzeichnis ** mit Leerzeichen ** (Programme) extrahiert, das laut [Development Kit Wiki] (https://github.com/oneclick) nicht funktioniert/rubyinstaller/wiki/Development-Kit). –
Wenn Sie nur versuchen, das DevKit zu installieren, anstatt das Yak zu rasieren, damit es die 'config.yml' korrekt erzeugt, können Sie' config.yml' einfach manuell editieren, um '- C:/Ruby200' hinzuzufügen (oder was auch immer Ihr Installationsort ist) vor 'ruby dk.rb install'. – Phrogz