2009-12-12 71 views
1

我想安装rails在我的eee pc中使用最新版本的ubuntu,我有一些软件包告诉installable.how是否有可能?我甚至可以安装gem不能在ubuntu 9.10中安装rails在我的eee PC

[email protected]:~$ gem 
The program 'gem' can be found in the following packages: 
* rubygems1.8 
* rubygems1.9.1 
Try: sudo apt-get install <selected package> 
gem: command not found 


[email protected]:/home/fenec# apt-get install rubygems1.8 
Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Package rubygems1.8 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 
E: Package rubygems1.8 has no installation candidate 

是否有可能某些软件包因我的硬件而无法安装?我有这个问题只与这个版本的Ubuntu的我曾经有Ubuntu 8.10和轨道工作像一个魅力。

回答

3

我通常从源码安装红宝石宝石。我会尝试遵循this guide - 它适用于多种不同的Ubuntu安装。

+0

我从源码安装RubyGems总是有更好的体验。最合适的一个几乎总是落后于版本方式,并且通常gem将需要最新版本的RG。 – hernan43 2009-12-12 12:18:11