-2
我试图在我的amazon实例上安装ruby gems时出现此错误。谁能解释一下?rubygems错误安装rails
[email protected]:~$ 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
我不明白那条消息。我从http://www.frontcoded.com/rails-on-amazon-ec2-ubuntu.html以下说,要做到这一点的方向。我也试过
which rubygems
然后就出来了。如果可能的话,我想回答这个问题来阻止反对票。谢谢。
您是否阅读过apt-get的消息? –