From: Peter Vandenabeele Date: 2010-11-29T21:50:36+09:00 Subject: Re: why i can't find my ruby ? On Mon, Nov 29, 2010 at 1:43 PM, Pen Ttt wrote: > pt@pt:~$ which  ruby > /usr/bin/ruby > pt@pt:~$ ls -l   `which ruby` > lrwxrwxrwx 1 root root 24 2010-11-29 16:00 /usr/bin/ruby -> > /usr/local/ruby/bin/ruby > pt@pt:~$ ls -l `which ruby | sed -e 's/ruby//'` | grep irb > pt@pt:~$ > > there is nothing  for the last command > ls -l `which ruby | sed -e 's/ruby//'` | grep irb (caveat, not actually tried, from memory). So now try: $ cd /usr/bin $ sudo ln -s /usr/local/ruby/bin/irb irb After that, the command: $ ls -l `which ruby | sed -e 's/ruby//'` | grep irb should show the symlink as on my computer. and $ which irb should work. You could also add to your .bashrc a line like: PATH=/usr/local/ruby/bin:"${PATH}" this wlll make all those command in /usr/local/ruby/bin available HTH, Peter