在Windows XP上使用“标准”Ruby 1.9.2安装ActiveScriptRuby是否安全?

我正在使用ruby 1.9.2p180 (2011-02-18) [i386-mingw32] 。 安装ActiveScriptRuby (基于1.8.7)是否安全?

更新(Luis Lavena的友好鼓励之后):

我成功安装了ActiveScriptRuby和pik。 证据:

 --------------------- PATH C:\Ruby192\bin C:\WINDOWS\system32 ... --------------------- pik ls 187: ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mswin32] * 192: ruby 1.9.2p180 (2011-02-18) [i386-mingw32] --------------------- ruby -v ruby 1.9.2p180 (2011-02-18) [i386-mingw32] RUBY C:\Documents and Settings\eh cscript m:\lib\kurs0705\xpl\xplmssc.vbs /xf:showLanguages xplmssc.vbs - xplore microsoft script control ... ------------------------------------------------------------------------------- VBScript 5.7.16599 * cscript 5.7 * WIN XP * WINXPSP3 * eh * 5/12/2011 7:58:30 PM =============================================================================== showLanguages - show languages ------------------------------------------------------------------------------- -------- VBScript Expr: 47+11 => 58 Yes, we can print (WScript.Echo). ... -------- RubyScript Expr: 47+11 => 58 Yes, we can print (puts). ... xplmssc.vbs: Erfolgreich beendet. (0) [ 0.42969 secs ] RUBY C:\Documents and Settings\eh pik use 187 RUBY C:\Documents and Settings\eh papa C:\Program Files\ruby-1.8\bin C:\WINDOWS\system32 ... RUBY C:\Documents and Settings\eh ruby -v ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mswin32] 

所以现在一切都很好看。 非常感谢Luis!

只要你不把两个版本的Ruby安装在同一个目录下,事情就是安全的。

ActiveScriptRuby和RubyInstaller不兼容,除了一秒钟之外,它们是不同版本的Ruby,它们使用不同的编译器工具链。

如果您将RubyInstaller 1.9.2安装到C:\Ruby192 ,则可以安全地将ASR安装到其他文件夹中。

您可以使用名为pik的实用程序在Windows上管理多个版本的Ruby:

https://github.com/vertiginous/pik