Rubyscript

Posted by Raiannon on Wed 06 Feb 2008 03:36 AM — 5 posts, 21,681 views.

#0
I have been having an error, and searching the forums I've tried every suggested fix. This started a few days ago, after I'd been successfully using mush with no errors.

finding CLSID of scripting language "RubyScript"
World: Legend
Error -2147221005 occurred when finding CLSID of scripting language "RubyScript":

Invalid class string


I installed Rubyscript from the website given in another post. It didn't fix it. I read that there are some problems with Windows XP registering Rubyscript, and the solution is a reboot. So I rebooted, still didn't fix it. I reinstalled Mush, with the same problem. Any advice?
Australia Forum Administrator #1
Ruby was one of those script engines that never seemed to work fabulously well. I put in support because it was wanted, however it is up to the Ruby people to make a script engine, and installer, that actually registers it the same way as the other script engines.

See: http://www.gammon.com.au/forum/bbshowpost.php?id=7857

There seem to be different versions, all I can suggest is try some of them. ActiveRuby? GRscript? Rscript? I just don't know, sorry.

It is possible that finding the ruby script DLL, and then opening a command (DOS) window, and typing:


regsvr32 rubyscript.dll


will help (or whatever the file name is that you find).

Meanwhile, can I put in a plug for Lua? That comes with MUSHclient and definitely works. :)
#2
I don't really care what language it uses. I don't bother with actual scripting, I learned the languages but don't have the patience for using them. Instead, I use the built in features - triggers, aliases, etc. This is the first time I've ever had problems with them. Is there a setting somewhere telling them to use rubyscript?
Australia Forum Administrator #3
Yes, in the Scripting configuration tab under world configuration. I don't know why you would select Ruby if you don't plan to use it. I would switch it back to Lua.

See:

http://www.mushclient.com/scripting


Near the top of that page you see where you select the script language.
#4
Yes, I found it, thank you. I'm not sure how it got set on Rubyscript. It was rather random. But I'm back on lua. :)