Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Install Rails on Ubuntu Hoary (See related posts)

Edit /etc/apt/sources.list and add the hoary-backports repository.

   1  # hoary-backports
   2  # This includes packages from Breezy backported to Hoary.
   3  deb http://archive.ubuntu.com/ubuntu hoary-backports main universe


Update package information:

   1  apt-get update


Install Rails:

   1  apt-get install rails


And you’re done.

Comments on this post

ivanoats posts on Sep 29, 2005 at 20:25
I tried this and got:

root@dylan:/home/ivan # apt-get install rails
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
rails: Depends: rake but it is not installable
Depends: libpgsql-ruby1.8 but it is not installable or
libmysql-ruby1.8 but it is not installable or
libdbi-ruby1.8 but it is not installable
Depends: libredcloth-ruby1.8 but it is not installable
E: Broken packages
dirtyaffairs posts on Oct 23, 2005 at 10:29
It seems that you are using Ubuntu Breezy distribution and you hav e configured the Ubuntu Hoary repository or that you have broken your apt database.

I tried it before posting (with Ubuntu Hoary) and it works.

Edu

You need to create an account or log in to post comments to this site.


Click here to browse all 5551 code snippets

Related Posts