跟随我的Debian系统上的安装指令here如何在Debian 6上安装ruby
xzxx xxxx xxxx xzxx xzxx xzxx xzxx xzxx xzxx xzxx$ su root
Password:
[email protected]:/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.
[email protected]:/home/yozloy# ruby -v
bash: ruby: command not found
[email protected]:/home/yozloy#
1)安装完成了吗? 2)考虑使用RVM,它具有许多优点,并且从源代码编译Ruby,它可能会解决一些不兼容问题。 – PJK
在debian中sudo通常不会被使用。而不是尝试使用'su',以root身份登录,然后执行'apt-get install ruby1.9.1' –
@Bob我更新了一些代码,供大家检查 – mko