无法在 ubuntu 上安装 ruby​​ bluepill gem

无法在 ubuntu 上安装 ruby​​ bluepill gem

我在 ubuntu 上安装了 bluepill:Linux auto 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009 x86_64 GNU/Linux

实际结果:


root@auto:/# gem install bluepill
Successfully installed bluepill-0.0.43
1 gem installed
Installing ri documentation for bluepill-0.0.43...
Installing RDoc documentation for bluepill-0.0.43...
root@auto:/# bluepill
bluepill: command not found
root@auto:/# 

我在 ubuntu 上安装了 bluepill:Linux autobot 2.6.27-7-server #1 SMP Tue Nov 4 20:18:35 UTC 2008 i686 GNU/Linux

stdout:

gem install bluepill Successfully installed blankslate-2.1.2.3 Successfully installed state_machine-0.9.4 Successfully installed bluepill-0.0.43 3 gems installed Installing ri documentation for blankslate-2.1.2.3... Installing ri documentation for state_machine-0.9.4... Installing ri documentation for bluepill-0.0.43... Installing RDoc documentation for blankslate-2.1.2.3... Installing RDoc documentation for state_machine-0.9.4... Installing RDoc documentation for bluepill-0.0.43...

为什么我可以在一个 ubuntu 上安装 bluepill,而在另一个 ubuntu 上却不能,bluepill 是否依赖于操作系统版本?还是需要一些缺少的库?在我的 Linux auto 2.6.31-14-server 上

谢谢,-Kamal。

答案1

查找二进制文件:

 find / -name bluepill

结束执行(Ubuntu 10.04 + ruby​​1.8)

/var/lib/gems/1.8/bin/bluepill

更改路径:

export PATH=$PATH:/var/lib/gems/1.8/bin/

相关内容