Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 07-21-2006, 06:23 PM   #1
NotL337
Member
 
Join Date: Apr 2006
Posts: 42
NotL337 is on a distinguished road
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.
NotL337 is offline   Reply With Quote
Old 07-21-2006, 11:04 PM   #2
Yuki
Member
 
Join Date: Jun 2002
Location: My laptop, my apt, Columbus, Ohio, USA
Posts: 42
Yuki is on a distinguished road
Send a message via ICQ to Yuki
Thumbs up

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.
Yuki is offline   Reply With Quote
Old 07-21-2006, 11:14 PM   #3
NotL337
Member
 
Join Date: Apr 2006
Posts: 42
NotL337 is on a distinguished road
AHA!

Thanks so much . Turns out it was actually ;C:/ruby/bin

Heh. Took me a while to finally figure out what I was doing wrong.

Thanks again .
NotL337 is offline   Reply With Quote
Reply


Thread Tools


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 01:47 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014