
Originally Posted by
Taresa
taresaco@taresa.com [~]# cd usr/local/bin/ruby
-bash: cd: usr/local/bin/ruby: No such file or directory
Que?
A couple things here...
First, you're missing the leading '/'. You're telling the cd command to go to the usr directory under your current working directory as opposed to the system usr directory. Second, you can't cd to that anyway (it'll throw another error) because it's not a directory. If you want to see if the ruby executable is really there, try 'ls /usr/local/bin | grep ruby'.

Originally Posted by
Taresa
If I need to tell bash where Ruby is... I'm not really sure how to do that, but I'll look it up. Is that the case?
If you need to tell bash about /usr/local/bin, put the following line in your ~/.bashrc (and your ~/.bash_profile if you don't have that pointing at your .bashrc):
Code:
PATH=/usr/local/bin:${PATH}; export PATH
Here's a decent intro to bash. Environment settings are dealt with briefly towards the bottom of the page. And here's a link to a bash quick reference card (well, cards).
Edit: Looks like DrSuSE beat me to it. That's what happens when you're interrupted halfway through writing a post.