在我的Debian系统上执行安装说明here之后
sudo apt-get install ruby1.9.1
我仍然收到错误
root@MyDebianVPS:/usr/local# ruby
bash: ruby: command not found
我应该重新启动系统以使其正常工作还是我会遗漏某些内容?
$ su root
Password:
root@MyDebianVPS:/home/yozloy# sudo apt-get install ruby1.9.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
ruby1.9.1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
root@MyDebianVPS:/home/yozloy# ruby -v
bash: ruby: command not found
root@MyDebianVPS:/home/yozloy#
答案 0 :(得分:1)
您将要查看是否实际调用了Debian软件包。
试试这个:
sudo apt-get install ruby1.9
如果完成,那真棒。然后尝试:
ruby -v
并报告你的内容。
答案 1 :(得分:1)
尝试ruby1.9
...他们可能没有将命令符号链接到ruby。