DZone 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

Snippets has posted 5883 posts at DZone. View Full User Profile

Install Rails On Ubuntu Hoary

09.01.2005
| 3463 views |
  • submit to reddit
        Edit /etc/apt/sources.list and add the hoary-backports repository.

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

Update package information:

apt-get update

Install Rails:

apt-get install rails

And you’re done.    

Comments

Snippets Manager replied on Mon, 2012/05/07 - 2:14pm

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

Snippets Manager replied on Mon, 2012/05/07 - 2:14pm

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