安装错误:'rubygems'没有安装候选者

时间:2014-06-02 00:33:14

标签: rubygems

您好我会感谢安装rubygems的一些帮助。这是我尝试时会发生的事情。 "红宝石满"已经安装好了。我该如何解决?有什么问题?

$ sudo apt-get install rubygems 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package rubygems is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ruby

E: Package 'rubygems' has no installation candidate

我正在运行Ubuntu 14.04。安装Ruby版本:1:1.9.3.4。如果有任何其他详细信息可以帮助您解决此问题,请与我们联系。

1 个答案:

答案 0 :(得分:119)

Ubuntu 14.04 中,尝试以下操作:

sudo apt-get install rubygems-integration