I’m new to ruby, and attempting to install it for the first time.
Running as root under CentOS 4, I downloaded the sources, configure,
make, and make install, all with no apparent errors.
However, whenever I attempt to run it, I get this:
-bash: /usr/bin/ruby: No such file or directory
I assume that I’m missing something fairly obvious, but I don’t know
where.
How are you trying to run it? Maybe it isn’t installed at /usr/bin/ruby.
Try:
whereis ruby
and/or
which ruby
To see where it is installed and which location bash is trying to use.
Also, might there have been an older/default installation of Ruby that
is messing it up?
Interestingly enough, on a whim, I just copied the program file into
/usr/bin and it seems to be working. There was an older version
installed that rails didn’t like, but that had been removed completely.
Justin C. wrote:
whereis ruby
and/or
which ruby
To see where it is installed and which location bash is trying to use.
Also, might there have been an older/default installation of Ruby that
is messing it up?