我已经从命令行在我的 Ubuntu 机器上安装了 ruby1.8。但是系统显示没有安装ruby。
这是控制台输出:
frank@my-version3:~/apps$ sudo apt-get install ruby1.8 ruby1.8-dev irb rdoc ri
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby1.8 is already the newest version.
ruby1.8-dev is already the newest version.
irb is already the newest version.
rdoc is already the newest version.
ri is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
frank@my-version3:~/apps$ which ruby
frank@my-version3:~/apps$ ruby -v
-bash: ruby: command not found
frank@my-version3:~/apps$ ruby
-bash: ruby: command not found
frank@my-version3:~/apps$ irb
irb(main):001:0> exit
frank@my-version3:~/apps$
有什么想法可能是错的吗?