EuroHackTrip / organisation

All stuff that need to be organised
2 stars 1 forks source link

EuroHackTrip site 'nokogiri' gem issues #9

Closed MwirabuaTimothy closed 10 years ago

MwirabuaTimothy commented 10 years ago

I am trying to run this rails app on my machine so I can test it and implement leaflet and other user interface stuff. But I keep getting a very annoying error.

  1. I first pull the app, then I do 'bundle'

The error message is:

An error occurred while installing nokogiri (1.5.10), and Bundler cannot continue. Make sure that gem install nokogiri -v '1.5.10' succeeds before bundling.

  1. So I try:

gem install nokogiri -v '1.5.10'

It gives me the error:

libxml2 is missing. visit http://nokogiri.org/tutorials/installing_nokogiri.html for help with installing dependencies.

  1. I go there and read the instructions which say I should do:

sudo apt-get install libxslt-dev libxml2-dev

I get this error:

The following packages have unmet dependencies: libxml2-dev : Depends: libxml2 (= 2.7.8.dfsg-5.1ubuntu4) but 2.7.8.dfsg-5.1ubuntu4.6 is to be installed libxslt1-dev : Depends: libxslt1.1 (= 1.1.26-8ubuntu1) but 1.1.26-8ubuntu1.3 is to be installed E: Unable to correct problems, you have held broken packages.

  1. I have tried so many things to go beyond this point but I havent proceeded. I have tried so many things to solve this issue:

sudo apt-get clean sudo apt-get update && sudo apt-get upgrade sudo apt-get install -f sudo apt-get autoremove sudo apt-get autoclean sudo apt-get install -f libxslt-dev libxml2-dev sudo apt-get -f install libxslt-dev libxml2-dev sudo apt-get --purge libxslt1.1 libxml2 sudo apt-get install build-essential

And more without success...?

bumi commented 10 years ago

since you had this several times, I would recommend to update your ubuntu system. which ubunutu are you running on?

MwirabuaTimothy commented 10 years ago

12.04

MwirabuaTimothy commented 10 years ago

Let me run my upgrade and get back

bumi commented 10 years ago

and what happens when you du the steps that you described at the bottom?

Michael Bumann

F +49 (0) 176 22747893 E hello@michaelbumann.com T twitter.com/bumi

On Sat, Nov 23, 2013 at 12:22 PM, TechyTimo notifications@github.comwrote:

Let me run my upgrade and get back

— Reply to this email directly or view it on GitHubhttps://github.com/EuroHackTrip/organisation/issues/9#issuecomment-29129760 .

MwirabuaTimothy commented 10 years ago

Wow! That seems to have solved it. I kept doing sudo apt-get upgrade but I had blocked updates in the settings sometime ago. So I activated updates, ran sudo apt-get update && sudo apt-get upgrade Seem to have worked now! I am so happy :)

bumi commented 10 years ago

ahh. cool. so it is working and you could install it? I think it is always good to try to stay up to date with the latest versions... as much as possible.

MwirabuaTimothy commented 10 years ago

Oh, good. But I have always believed that if its not broken then don't fix it!. Especially for a system that I use everyday. Thanks to the advice.

On Sun, Nov 24, 2013 at 3:38 AM, Michael Bumann notifications@github.comwrote:

ahh. cool. so it is working and you could install it? I think it is always good to try to stay up to date with the latest versions... as much as possible.

— Reply to this email directly or view it on GitHubhttps://github.com/EuroHackTrip/organisation/issues/9#issuecomment-29145712 .

I believe in technological revolution to catalyze economic growth in developing countries. Web and Mobile Developer. http://thedevs.org +254711451409

bumi commented 10 years ago

so we can close this issue?

MwirabuaTimothy commented 10 years ago

Yes. Thanks

On Mon, Nov 25, 2013 at 5:52 PM, Michael Bumann notifications@github.comwrote:

so we can close this issue?

— Reply to this email directly or view it on GitHubhttps://github.com/EuroHackTrip/organisation/issues/9#issuecomment-29207094 .

I believe in technological revolution to catalyze economic growth in developing countries. Web and Mobile Developer. http://thedevs.org +254711451409