how can i install ruby in ubuntu

  • Thread starter 富丽饼干
  • Start date
Å

富丽饼干

hi all
i use "sudo apt-get install ruby1.8 irb1.8 rdoc1.8" install ruby in
ubuntu ,but after success install , i input " ruby -v " , prompt "
bash:ruby command not found", why ??
need other config??
 
T

ts

"b" == =?utf-8?B?5a+M5Li96aW85bmy?= <utf-8> writes:

b> i use "sudo apt-get install ruby1.8 irb1.8 rdoc1.8" install ruby in
b> ubuntu ,but after success install , i input " ruby -v " , prompt "
b> bash:ruby command not found", why ??

Well do

sudo apt-get install ruby irb rdoc ri


otherwise the symbolic link /usr/bin/ruby is not created and you must call
ruby1.8



Guy Decoux
 
Å

富丽饼干

thanks ts
ts said:
b> i use "sudo apt-get install ruby1.8 irb1.8 rdoc1.8" install ruby in
b> ubuntu ,but after success install , i input " ruby -v " , prompt "
b> bash:ruby command not found", why ??

Well do

sudo apt-get install ruby irb rdoc ri


otherwise the symbolic link /usr/bin/ruby is not created and you must call
ruby1.8



Guy Decoux
 

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,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top