2011-12-05 47 views

回答

7

看來rake包不在11.04源代碼中,而是在10.10源代碼中。

要獲得apt-get install rake到11.04工作:

以下行添加到/etc/apt/sources.list

deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe

deb-src http://archive.ubuntu.com/ubuntu/ maverick main restricted universe

更新包上市

apt-get update

現在rake應提供:

apt-get install rake

6

嘗試gem install rake

這可能是最好使用rvm比Ubuntu的Ruby和寶石。