# Upgrade to 1.1RC on ubuntu breezy

**URL:** <https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921>\
**Category:** Rails\
**Created:** [March 25, 2006, 7:52am UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921 "2006-03-25T07:52:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 7:52am UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/1 "2006-03-25T07:52:36Z")

</div>

How do I upgrade my rails to 1.1RC - running Ubuntu breezy and I had  
installed rails using apt-get in universe.

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 10:49am UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/2 "2006-03-25T10:49:08Z")

</div>

Maybe it’ll be easier to remove the package and then install via the  
gems route?

The ubuntu repositories will never have edge rails since I believe the  
point of them is to provide tried and tested packages only.

p.s. if youre on lighty make sure you have 1.4.11 installed. As far as  
I can tell, versions above and below will not work… unless you want  
to edit the default lighty config.

-h

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 2:00pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/3 "2006-03-25T14:00:40Z")

</div>

Hi,

I’ve just been caught out with this.

On any Debian based distro (like ubuntu) always install Ruby via apt,  
install gems from source and then gem install rake and rails (and so  
on).

The problem with Breezy is that although the Ruby version is 1.8.2 the  
ruby package reports it being 1.8.3 which Rails won’t play with. As a  
result, you have only one option:

Upgrade to Dapper Drake.

This is a very simple change to your /etc/apt/sources.list file (replace  
all reference to breezy with dapper). apt-get dist-upgrade and apt-get  
update should do the trick with the following caveat: dapper is still in  
pre-release so might not work as expected or seem incomplete (the  
current splash screen when logging into Gnome is a good example). I  
upgraded last night and everything seems to be working well with 1.1rc1  
plus the bugs in Ubuntu’s version of Ruby (like the ruby bindings to  
imagemagik) should be fixed (I’ve not checked all of them yet). On  
dapper Ruby is at 1.8.4.

The other option might be to check out another distro like Fedora or  
SuSE (as I did last night) but, to my mind, they’re nowhere near as easy  
as Debian/Ubuntu to use - hence my reinstall of breezy and upgrade to  
dapper. Your mileage might vary.

Best of luck and have fun!

Nicholas

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/4 "2006-03-25T17:17:37Z")

</div>

thanks - now I get the procedure (ruby from repository, gems from  
source, rake and rails from gems). I’ll try to get this on the Ubuntu  
wiki. And yes, i’m testing dapper today on a 2nd machine since it now  
supports lighttpd in the repositories - but still afraid to use it on my  
production laptop.

Nicholas H.Tollervey wrote:

> Hi,
> 
> I’ve just been caught out with this.
> 
> On any Debian based distro (like ubuntu) always install Ruby via apt,  
> install gems from source and then gem install rake and rails (and so  
> on).
> 
> The problem with Breezy is that although the Ruby version is 1.8.2 the  
> ruby package reports it being 1.8.3 which Rails won’t play with. As a  
> result, you have only one option:
> 
> Upgrade to Dapper Drake.
> 
> This is a very simple change to your /etc/apt/sources.list file (replace  
> all reference to breezy with dapper). apt-get dist-upgrade and apt-get  
> update should do the trick with the following caveat: dapper is still in  
> pre-release so might not work as expected or seem incomplete (the  
> current splash screen when logging into Gnome is a good example). I  
> upgraded last night and everything seems to be working well with 1.1rc1  
> plus the bugs in Ubuntu’s version of Ruby (like the ruby bindings to  
> imagemagik) should be fixed (I’ve not checked all of them yet). On  
> dapper Ruby is at 1.8.4.
> 
> The other option might be to check out another distro like Fedora or  
> SuSE (as I did last night) but, to my mind, they’re nowhere near as easy  
> as Debian/Ubuntu to use - hence my reinstall of breezy and upgrade to  
> dapper. Your mileage might vary.
> 
> Best of luck and have fun!
> 
> Nicholas

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/5 "2006-03-25T20:32:29Z")

</div>

On Sat, Mar 25, 2006 at 09:48:20AM +0000, Henry T. wrote:

> p.s. if youre on lighty make sure you have 1.4.11 installed. As far as  
> I can tell, versions above and below will not work… unless you want  
> to edit the default lighty config.

I’m still running 1.4.8 on my (Breezy) laptop for development testing,  
and  
the default rails lighty config works fine.

- Matt

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 25, 2006, 11:44pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/6 "2006-03-25T23:44:02Z")

</div>

Nicholas H.Tollervey wrote:

> result, you have only one option:
> 
> Upgrade to Dapper Drake.

Until Dapper Drake is released, I have a large number of packages  
backported to  
Breezy Badger, including Ruby 1.8.4.

You can find them at

[http://www.orcaware.com/packages/ubuntu/breezy/](http://www.orcaware.com/packages/ubuntu/breezy/)

Also, there’s a rubygems package there that installs the Ruby gems  
package, but  
you still need to install individual gems using the ‘gem’ script. The  
advantage  
to this is that all the gems are stored in /var/lib/gems/1.8 and if you  
remove  
the rubygems package, then all gems are removed. So you still have a  
dpkg  
package management system surrounding the gems.

This package is based off of work by Daigo M.

Regards,  
Blair

–  
Blair Z., Ph.D.  
CTO, OrcaWare Technologies  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subversion training, consulting and support  
[http://www.orcaware.com/svn/](http://www.orcaware.com/svn/)

---

<div class="post-metadata">

**Author:** ![jack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@jack](https://www.ruby-forum.com/u/jack)\
**Post date:** [March 28, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/upgrade-to-1-1rc-on-ubuntu-breezy/55921/7 "2006-03-28T20:05:06Z")

</div>

On 25/03/06 13:00 +0000, Nicholas H.Tollervey wrote:

> result, you have only one option:
> 
> Upgrade to Dapper Drake.

Not really. You could always build ruby from source. I don’t like the  
way Debian breaks ruby into different parts anyway.

First remove any ruby stuff you have already installed on breezy, then  
get checkinstall and build-essential

sudo apt-get install checkinstall  
sudo apt-get install build-essential

Then go out and get the source for ruby and rubygems, untar them, run  
./configure, make, then  
sudo checkinstall make install

after this yo uwill have the latest ruby and rubygems built from  
source and tracked in Debian’s package system.

Regards,  
Jason
