# Ubuntu 10.04 on EC2

**URL:** <https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061>\
**Category:** Deployment\
**Created:** [August 29, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061 "2010-08-29T17:34:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [August 29, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061/1 "2010-08-29T17:34:15Z")

</div>

Having setup a standard phusion-passenger stack on an earlier version of  
Ubuntu on EC2 I’m having mysterious problems setting things up on the  
Canononical 10.04 release. It seems that it wants to install everything  
via apt-get install, rather than gem install, which of course means that  
it’s getting ancient versions because the debian packages aren’t kept up  
to date. If I try the normal gem install route then I can see things OK  
when I gem list --local but things aren’t available on the command line  
which I expect to be available. Most importantly I can’t type  
passenger-install-apache2-module because gem install passenger hasn’t  
installed things properly.

I’m mystified. Earlier versions were completely simple to set up but  
this is turning into a right pain.

Anyone have any experience of this?

John S.

---

<div class="post-metadata">

**Author:** ![captaffy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/f04885/32.png) [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Post date:** [September 5, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/ubuntu-10-04-on-ec2/194061/2 "2010-09-05T15:44:04Z")

</div>

John S. wrote:

> Having setup a standard phusion-passenger stack on an earlier version of  
> Ubuntu on EC2 I’m having mysterious problems setting things up on the  
> Canononical 10.04 release. It seems that it wants to install everything  
> via apt-get install, rather than gem install, which of course means that  
> it’s getting ancient versions because the debian packages aren’t kept up  
> to date. If I try the normal gem install route then I can see things OK  
> when I gem list --local but things aren’t available on the command line  
> which I expect to be available. Most importantly I can’t type  
> passenger-install-apache2-module because gem install passenger hasn’t  
> installed things properly.
> 
> I’m mystified. Earlier versions were completely simple to set up but  
> this is turning into a right pain.
> 
> Anyone have any experience of this?
> 
> John S.

Ok, I’ve sorted this one out. Basically you have to install the latest  
version of gem yourself, because the Ubuntu repositories don’t seem to  
have things set up correctly. So if you run into this problem don’t use  
apt-get to set up gem, go to [http://rubygems.org](http://rubygems.org) and install it from  
there.

John S.
