Can't find ruby after installation

N

Nirav

I skipped ruby selection while installing mandrake 10.1 with an
intention of building the latest version (1.8.3).
After untarring the download in /usr/local/src, I followed README (1.
../configure 2. make 3. and optional make test (successful)).
"which ruby" returns ruby: but I can't find ruby in /usr/local/bin or
/usr/local/lib.

Where is it?

Thanks in advance.
 
J

jason r tibbetts

Nirav said:
I skipped ruby selection while installing mandrake 10.1 with an
intention of building the latest version (1.8.3).
After untarring the download in /usr/local/src, I followed README (1.
../configure 2. make 3. and optional make test (successful)).
"which ruby" returns ruby: but I can't find ruby in /usr/local/bin or
/usr/local/lib.

Where is it?

It's probably in your current working directory (i.e. from wherever you
called 'which ruby'). To make sure, take a look at the Makefile that was
generated by configure. Search for the 'prefix' variable about a dozen
lines from the top.
 
Z

Zach

jason said:
It's probably in your current working directory (i.e. from wherever
you called 'which ruby'). To make sure, take a look at the Makefile
that was generated by configure. Search for the 'prefix' variable
about a dozen lines from the top.
During the .configure you can pass the parameters to set that at runtime
too, I'm not sure if it was as short as --PREFIX=myPath or not but it
was that simple.

-Zach
 
M

Marius Friis

You might need to run 'make install' as root to actually install it,
right now you have just
compiled it.
 
N

Nirav

Strange!! last time I kept the distro version, and
compiled/build/install 1.8.3 in /usr space using same instructions in
README. It worked then!

Is it possible that configuration script assumes that user will always
keep the linux distro version, but unable to find that in this case and
got confused?

Anyways, thank you all, I will try the options you've provided.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top