0

When running ruby dk.rb init from C:/Devkit it displays as below

[INFO] found RubyInstaller v1.8.7 at C:/ruby

[INFO] found RubyInstaller v1.9.2 at C:/IRails/Ruby192

Initialization complete! Please review and modify the auto-generated 'config.yml' file to ensure it contains the root directories to all of the installed Rubies you want enhanced by the DevKit.

But no such folder exists in the C Drive. How to remove this from the windows registry.

4

1 回答 1

1

如果 DevKitdk.rb在注册表中发现了这些元素,则意味着 Ruby 在某个时候安装在这些文件夹中,但要么手动删除要么重新定位。

如果您打开dk.rb,您将看到用于查找此类信息的注册表项:

Software\RubyInstaller\MRI先入HKEY_LOCAL_MACHINE后入HKEY_CURRENT_USER

您可以使用regedit并查找这些密钥并完全删除它们。

但是我建议你首先检查控制面板中的添加和删除程序,如果仍然安装了 Ruby,如果是这样,删除并正确安装。

于 2012-06-07T14:49:07.923 回答