peter
peter

Reputation: 42207

Using ruby in WSH (Windows Scripting Host)

Has anyone experience with using ruby in WSH (Windows Scripting Host)? The following doesn't work, Ruby is installed on the system.

<package id = "hello_world">  
<job>
<script language="VBScript">
  MsgBox "hello world (from vb)"
</script>
<script language="JScript">
  WSH.echo("hello world (from js)");
</script>
<script language="RubyScript">
  puts "hello world (from ruby)"
</script>
</job>
</package>

Upvotes: 3

Views: 886

Answers (1)

Ekkehard.Horner
Ekkehard.Horner

Reputation: 38765

The standard ruby does not contain/install an ActiveScript engine. You could try:

ActiveScriptRuby

I did a test install (Windows XP) and the basics 'did work' - YMMV.

Upvotes: 2

Related Questions