I was installing webrat on my Ubuntu 8.04 Hardy Heron box and it gave me this error message:
libxslt is missing. try ‘port install libxslt’ or ‘yum install libxslt-devel’
Well, it turns out there is no libxslt-devel on Ubuntu, instead you have to do
sudo apt-get install libxslt1-dev libxml2-dev
and then install webrat (via sudo gem install webrat or add the gem in your environment.rb file).
try this
sudo apt-get install libxslt1-dev libxml2-dev
Thanks for the extra info, I have updated the post with your addition. I had the xml lib already installed, so I forgot to include it in my post, but now it should be complete
Thanks for that
Thanks this worked. I needed this for Ubuntu 9.10 Karmic Koala too.
@andy Good to hear
Btw, did the same instructions work for Ubuntu 9.10? If they did, I could generalize the title of the post to “Installing webrat on ubuntu”..
Thanks for that, worked a treat.
Worked fine. I have used it for Ubuntu 9.10 as well.