07-21-2006, 06:23 PM | #1 |
Member
Join Date: Apr 2006
Posts: 42
|
Hey guys.
I'm still pluging away at my mud, although I did drop learning how to code for a bit when I was unable to find someone to teach me how. I'm back at it though, and I've decided to work with Ruby. I redownloaded Ruby, and got it set up. I used to have it working fine on my computer, but someone deleted it for some reason so I had to reinstall it. I know that I had it working before, but now it doesn't want to. I make programs, and then I go into the folder where they are (using Command Prompt) and type in: ruby [filename].rb like the tutorial says to, and like I remember I used to. Now, however, it says: 'ruby' is not recognized as an internal or external command, operable program, or batch file. I seem to remember that last time I tried Ruby, I had to go in and add something to the 'system' line of text in the Settings>Control Panel area, but I can't find any instructions on that, or remember where I got them from the first time. My computer system is Windows XP Pro. |
07-21-2006, 11:04 PM | #2 |
Member
|
Not sure what version of windows you're on, but...
Right click "My Computer" and select properties. Select "Advanced" tab. Select "Environment Variables" button. Add the path of the ruby \bin folder (don't quote me on this, I don't know Ruby but I do know Java/others and it's probably the same) Accomplish this by finding the "path" variable in the "system variables" section, and add in there something like ";c:\program files\<ruby install folder>\bin" or some such thing. You need the semicolon as a separator in there. Make sure to close your command window and reopen it. You can verify it was added by typing "path" at the command prompt, see if it's there. If you add the right path, it'll find it. |
07-21-2006, 11:14 PM | #3 |
Member
Join Date: Apr 2006
Posts: 42
|
|
Ruby Error - Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error when trying to compile | UnKnOwN | MUD Coding | 0 | 04-07-2006 02:53 PM |
I Just Coded In Ruby! | Rykkan | Tavern of the Blue Hand | 2 | 03-14-2006 02:40 PM |
an error i got | UnKnOwN1205 | MUD Coding | 1 | 01-09-2005 03:45 PM |
Error when Dying | Verboden Faction | MUD Coding | 2 | 03-25-2003 11:59 PM |
Compile error | melker | MUD Coding | 37 | 07-22-2002 02:23 PM |
|
|