Installing webrat on Ubuntu 8.04 7

Posted by Runar Svendsen on June 16, 2009

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).

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. afinley Thu, 18 Jun 2009 16:18:41 PDT

    try this
    sudo apt-get install libxslt1-dev libxml2-dev

  2. Runar Svendsen Fri, 19 Jun 2009 00:48:01 PDT

    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 :-)

  3. Josh Nesbitt Sat, 27 Jun 2009 14:18:38 PDT

    Thanks for that :)

  4. andy Thu, 19 Nov 2009 19:02:47 PST

    Thanks this worked. I needed this for Ubuntu 9.10 Karmic Koala too.

  5. Runar Svendsen Thu, 19 Nov 2009 22:20:14 PST

    @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”..

  6. Josh Nesbitt Wed, 10 Feb 2010 17:26:30 PST

    Thanks for that, worked a treat.

  7. rbernardelli Thu, 04 Mar 2010 22:28:15 PST

    Worked fine. I have used it for Ubuntu 9.10 as well.

Comments