Hassan Schroeder
12/23/2008 6:36:00 PM
On Tue, Dec 23, 2008 at 9:53 AM, Callen Mascarenhas
<callenmas@justice.com> wrote:
> The reason I'm using the ". /usr/local/bin/irb" is because I have
> another company version of irb/ruby in /opt/third-party/bin/ and they
> have removed the 'gem' command. So I cannot install new features and
> play with Ruby.
You've already been told: the '.' is wrong, whether it's './' or '. /' -- so
don't use it.
Entering /usr/local/bin/irb will use that exact version, and no, it won't
change the result of `which irb` -- irrelevant.
If you want to use your personal version all the time, change the PATH
defined in .bashrc (or wherever) to put /usr/local/bin *first*, or at least
before /opt/third-party/bin.
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com